We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a9b49c commit 5fbe485Copy full SHA for 5fbe485
1 file changed
library/core/src/fmt/mod.rs
@@ -1827,7 +1827,7 @@ impl<'a> Formatter<'a> {
1827
/// }
1828
///
1829
/// assert_eq!(&format!("{:+}", Foo(23)), "Foo(+23)");
1830
- /// assert_eq!(&format!("{:+}", Foo(-32)), "Foo(-23)");
+ /// assert_eq!(&format!("{:+}", Foo(-23)), "Foo(-23)");
1831
/// assert_eq!(&format!("{}", Foo(23)), "Foo(23)");
1832
/// ```
1833
#[must_use]
0 commit comments