]> git.lizzy.rs Git - rust.git/blobdiff - src/tools/clippy/clippy_utils/src/macros.rs
Auto merge of #102692 - nnethercote:TokenStreamBuilder, r=Aaron1011
[rust.git] / src / tools / clippy / clippy_utils / src / macros.rs
index dd0ce1da65759396a431f269f6da3e1536cd39a5..5a63c290a315fccffd9fbcad2071c7280cbc5e19 100644 (file)
@@ -414,7 +414,7 @@ fn new(cx: &LateContext<'_>, pieces: &Expr<'_>) -> Option<Self> {
 
 struct FormatArgsValues<'tcx> {
     /// Values passed after the format string and implicit captures. `[1, z + 2, x]` for
-    /// `format!("{x} {} {y}", 1, z + 2)`.
+    /// `format!("{x} {} {}", 1, z + 2)`.
     value_args: Vec<&'tcx Expr<'tcx>>,
     /// Maps an `rt::v1::Argument::position` or an `rt::v1::Count::Param` to its index in
     /// `value_args`