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 @@ pub fn flags(&self) -> u32 {
|
||||
/// }
|
||||
/// }
|
||||
///
|
||||
/// // 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