mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 15:01:51 +00:00
Rollup merge of #80980 - trevarj:patch-1, r=nagisa
Fixed incorrect doc comment ">" is right alignment, not left
This commit is contained in:
commit
d5e55cee99
@ -1555,7 +1555,7 @@ impl<'a> Formatter<'a> {
|
||||
/// }
|
||||
/// }
|
||||
///
|
||||
/// // We set alignment to the left with ">".
|
||||
/// // We set alignment to the right with ">".
|
||||
/// assert_eq!(&format!("{:G>3}", Foo), "GGG");
|
||||
/// assert_eq!(&format!("{:t>6}", Foo), "tttttt");
|
||||
/// ```
|
||||
|
Loading…
Reference in New Issue
Block a user