about summary refs log tree commit diff
path: root/library/alloc/src
diff options
context:
space:
mode:
authorTitus <tituswormer@gmail.com>2022-02-09 11:26:10 +0100
committerGitHub <noreply@github.com>2022-02-09 11:26:10 +0100
commit3d3318b4068cdc0a35e7d18aa91b3dd35ea27c86 (patch)
treed0cb620b70600518005cf5841aa89425a16b63f5 /library/alloc/src
parentbf242bb1199e25ca2274df5c4114e0c9436b74e9 (diff)
downloadrust-3d3318b4068cdc0a35e7d18aa91b3dd35ea27c86.tar.gz
rust-3d3318b4068cdc0a35e7d18aa91b3dd35ea27c86.zip
Fix typo in `std::fmt` docs
Diffstat (limited to 'library/alloc/src')
-rw-r--r--library/alloc/src/fmt.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/alloc/src/fmt.rs b/library/alloc/src/fmt.rs
index b4d16d74db4..aeb7554f8e9 100644
--- a/library/alloc/src/fmt.rs
+++ b/library/alloc/src/fmt.rs
@@ -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"