Skip to content

Commit dd5d58e

Browse files
authored
Rollup merge of rust-lang#149349 - m-ou-se:fmt-arg-comment-typo, r=Mark-Simulacrum
Fix typo in comment.
2 parents 072eb13 + 13cb0c4 commit dd5d58e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

core/src/fmt/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -625,7 +625,7 @@ impl<'a> Formatter<'a> {
625625
//
626626
// 2) Placeholders representation (e.g. format_args!("hello {name}\n"))
627627
// ┌────────────────────────────────┐
628-
// template: │ *const u8 │ ─▷ b"\x06hello \x80\x01\n\x00"
628+
// template: │ *const u8 │ ─▷ b"\x06hello \xC0\x01\n\x00"
629629
// ├────────────────────────────────┤
630630
// args: │ &'a [Argument<'a>; _] 0│ (lower bit is 0 due to alignment of Argument type)
631631
// └────────────────────────────────┘

0 commit comments

Comments
 (0)