Fixed incorrect doc comment
">" is right alignment, not left
This commit is contained in:
parent
9f3998b4aa
commit
697b20ff08
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue