Skip to content

Commit e49f961

Browse files
committed
Fix typo in comment.
1 parent 6840234 commit e49f961

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/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)