mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-23 21:23:56 +00:00
Fix warnings introduced by #3349
This commit is contained in:
parent
319b75c75b
commit
57a18b6520
2 changed files with 2 additions and 2 deletions
|
@ -49,7 +49,7 @@ impl LintPass for Pass {
|
|||
}
|
||||
|
||||
impl EarlyLintPass for Pass {
|
||||
fn check_crate(&mut self, cx: &EarlyContext<'_>, krate: &Crate) {
|
||||
fn check_crate(&mut self, cx: &EarlyContext<'_>, _: &Crate) {
|
||||
let metadata = if let Ok(metadata) = cargo_metadata::metadata_deps(None, true) {
|
||||
metadata
|
||||
} else {
|
||||
|
|
|
@ -44,7 +44,7 @@ impl LintPass for Pass {
|
|||
}
|
||||
|
||||
impl EarlyLintPass for Pass {
|
||||
fn check_crate(&mut self, cx: &EarlyContext<'_>, krate: &Crate) {
|
||||
fn check_crate(&mut self, cx: &EarlyContext<'_>, _: &Crate) {
|
||||
let metadata = if let Ok(metadata) = cargo_metadata::metadata(None) {
|
||||
metadata
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue