about summary refs log tree commit diff
path: root/clippy_utils/src
diff options
context:
space:
mode:
authorPhilipp Krones <hello@philkrones.com>2022-10-06 17:41:53 +0200
committerPhilipp Krones <hello@philkrones.com>2022-10-06 17:41:53 +0200
commit09a554db25840a35bbfc13d531e288801b10fe6a (patch)
tree0457a657d75c7a60ef883f1b3e6253fd71ebbd59 /clippy_utils/src
parentd75b25faabdcf0a22fe37928917c4ab1761fa265 (diff)
Merge commit '8f1ebdd18bdecc621f16baaf779898cc08cc2766' into clippyup
Diffstat (limited to 'clippy_utils/src')
-rw-r--r--clippy_utils/src/macros.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_utils/src/macros.rs b/clippy_utils/src/macros.rs
index dd0ce1da657..5a63c290a31 100644
--- a/clippy_utils/src/macros.rs
+++ b/clippy_utils/src/macros.rs
@@ -414,7 +414,7 @@ impl FormatString {
 
 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`