Skip to content

Commit

Permalink
Fix new lint warning in clippy_config
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez committed Nov 28, 2023
1 parent 60ab16d commit 35383fb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion clippy_config/src/conf.rs
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,9 @@ macro_rules! define_Conf {
}
})*
// ignore contents of the third_party key
Ok(Field::third_party) => drop(map.next_value::<IgnoredAny>())
Ok(Field::third_party) => {
let _ = map.next_value::<IgnoredAny>();
}
}
}
let conf = Conf { $($name: $name.unwrap_or_else(defaults::$name),)* };
Expand Down

0 comments on commit 35383fb

Please sign in to comment.