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:
commit
6db0f9ca0d
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@
|
||||||
//! identifier '=' expression
|
//! 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"
|
//! format!("{argument}", argument = "test"); // => "test"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue