This commit is contained in:
Maurits van Riezen
2022-09-07 17:53:47 +02:00
committed by GitHub
parent 0a9b49c794
commit 5fbe485ecc
+1 -1
View File
@@ -1827,7 +1827,7 @@ pub fn precision(&self) -> Option<usize> {
/// }
///
/// assert_eq!(&format!("{:+}", Foo(23)), "Foo(+23)");
/// assert_eq!(&format!("{:+}", Foo(-32)), "Foo(-23)");
/// assert_eq!(&format!("{:+}", Foo(-23)), "Foo(-23)");
/// assert_eq!(&format!("{}", Foo(23)), "Foo(23)");
/// ```
#[must_use]