Skip to content

Commit 5fbe485

Browse files
authored
Typo
1 parent 0a9b49c commit 5fbe485

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/fmt/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1827,7 +1827,7 @@ impl<'a> Formatter<'a> {
18271827
/// }
18281828
///
18291829
/// assert_eq!(&format!("{:+}", Foo(23)), "Foo(+23)");
1830-
/// assert_eq!(&format!("{:+}", Foo(-32)), "Foo(-23)");
1830+
/// assert_eq!(&format!("{:+}", Foo(-23)), "Foo(-23)");
18311831
/// assert_eq!(&format!("{}", Foo(23)), "Foo(23)");
18321832
/// ```
18331833
#[must_use]

0 commit comments

Comments
 (0)