Skip to content

Commit 6db0f9c

Browse files
authored
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?
2 parents 84c2804 + 3d3318b commit 6db0f9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/alloc/src/fmt.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
//! identifier '=' expression
7575
//! ```
7676
//!
77-
//! For example, the following [`format!`] expressions all use named argument:
77+
//! For example, the following [`format!`] expressions all use named arguments:
7878
//!
7979
//! ```
8080
//! format!("{argument}", argument = "test"); // => "test"

0 commit comments

Comments
 (0)