Fixed incorrect doc comment

">" is right alignment, not left
This commit is contained in:
trevor arjeski
2021-01-13 13:49:46 +03:00
committed by GitHub
parent 9f3998b4aa
commit 697b20ff08
+1 -1
View File
@@ -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");
/// ```