From 3d3318b4068cdc0a35e7d18aa91b3dd35ea27c86 Mon Sep 17 00:00:00 2001 From: Titus Date: Wed, 9 Feb 2022 11:26:10 +0100 Subject: [PATCH] Fix typo in `std::fmt` docs --- library/alloc/src/fmt.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- 2.44.0