]> git.lizzy.rs Git - rust.git/commitdiff
Fix typo in `std::fmt` docs
authorTitus <tituswormer@gmail.com>
Wed, 9 Feb 2022 10:26:10 +0000 (11:26 +0100)
committerGitHub <noreply@github.com>
Wed, 9 Feb 2022 10:26:10 +0000 (11:26 +0100)
library/alloc/src/fmt.rs

index b4d16d74db48807c896e9437dae3d1124193b9e5..aeb7554f8e914ec1117b3cce8a35f9f16e40376b 100644 (file)
@@ -74,7 +74,7 @@
 //! identifier '=' expression
 //! ```
 //!
-//! For example, the following [`format!`] expressions all use named argument:
+//! For example, the following [`format!`] expressions all use named arguments:
 //!
 //! ```
 //! format!("{argument}", argument = "test");   // => "test"