mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
Rollup merge of #149349 - m-ou-se:fmt-arg-comment-typo, r=Mark-Simulacrum
Fix typo in comment.
This commit is contained in:
@@ -625,7 +625,7 @@ pub const fn with_options<'b>(&'b mut self, options: FormattingOptions) -> Forma
|
||||
//
|
||||
// 2) Placeholders representation (e.g. format_args!("hello {name}\n"))
|
||||
// ┌────────────────────────────────┐
|
||||
// template: │ *const u8 │ ─▷ b"\x06hello \x80\x01\n\x00"
|
||||
// template: │ *const u8 │ ─▷ b"\x06hello \xC0\x01\n\x00"
|
||||
// ├────────────────────────────────┤
|
||||
// args: │ &'a [Argument<'a>; _] 0│ (lower bit is 0 due to alignment of Argument type)
|
||||
// └────────────────────────────────┘
|
||||
|
||||
Reference in New Issue
Block a user