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
commit 6db0f9ca0d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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"