Skip to content

Commit 57a18b6

Browse files
committed
Fix warnings introduced by #3349
1 parent 319b75c commit 57a18b6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

clippy_lints/src/multiple_crate_versions.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ impl LintPass for Pass {
4949
}
5050

5151
impl EarlyLintPass for Pass {
52-
fn check_crate(&mut self, cx: &EarlyContext<'_>, krate: &Crate) {
52+
fn check_crate(&mut self, cx: &EarlyContext<'_>, _: &Crate) {
5353
let metadata = if let Ok(metadata) = cargo_metadata::metadata_deps(None, true) {
5454
metadata
5555
} else {

clippy_lints/src/wildcard_dependencies.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ impl LintPass for Pass {
4444
}
4545

4646
impl EarlyLintPass for Pass {
47-
fn check_crate(&mut self, cx: &EarlyContext<'_>, krate: &Crate) {
47+
fn check_crate(&mut self, cx: &EarlyContext<'_>, _: &Crate) {
4848
let metadata = if let Ok(metadata) = cargo_metadata::metadata(None) {
4949
metadata
5050
} else {

0 commit comments

Comments
 (0)