Rollup merge of #93799 - wooorm:patch-1, r=dtolnay

Fix typo in `std::fmt` docs

Hey!

Reading the docs (https://doc.rust-lang.org/std/fmt/#named-parameters), this seems like a typo?

The docs here also seem to mix “named argument” and “named parameter”? Intentional? Mistake?
This commit is contained in:
Matthias Krüger
2022-02-09 23:29:58 +01:00
committed by GitHub
+1 -1
View 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"