From: Titus Date: Wed, 9 Feb 2022 10:26:10 +0000 (+0100) Subject: Fix typo in `std::fmt` docs X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=3d3318b4068cdc0a35e7d18aa91b3dd35ea27c86;hp=bf242bb1199e25ca2274df5c4114e0c9436b74e9;p=rust.git Fix typo in `std::fmt` docs --- 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"