We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3641b0c commit cd13574Copy full SHA for cd13574
clippy_lints/src/write.rs
@@ -441,7 +441,7 @@ impl SimpleFormatArgs {
441
};
442
443
match arg.position {
444
- ArgumentIs(n, _) | ArgumentImplicitlyIs(n) => {
+ ArgumentIs(n) | ArgumentImplicitlyIs(n) => {
445
if self.unnamed.len() <= n {
446
// Use a dummy span to mark all unseen arguments.
447
self.unnamed.resize_with(n, || vec![DUMMY_SP]);
@@ -462,7 +462,7 @@ impl SimpleFormatArgs {
462
}
463
464
},
465
- ArgumentNamed(n, _) => {
+ ArgumentNamed(n) => {
466
let n = Symbol::intern(n);
467
if let Some(x) = self.named.iter_mut().find(|x| x.0 == n) {
468
match x.1.as_slice() {
0 commit comments