Skip to content

Commit 44fb29a

Browse files
bors[bot]flip1995
andcommitted
Merge #3356
3356: Fix warnings introduced by #3349 r=flip1995 a=flip1995 I missed these warnings during review, should have checked the Travis log first. Co-authored-by: flip1995 <[email protected]>
2 parents bce1905 + 57a18b6 commit 44fb29a

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)