mirror of
https://github.com/rust-lang/rust-clippy
synced 2025-02-16 22:18:40 +00:00
use visibility to check unused imports and delete some stmts
This commit is contained in:
parent
8e7d1678c4
commit
87d0ace9ac
2 changed files with 2 additions and 0 deletions
|
@ -19,6 +19,7 @@ mod in_fn_test {
|
|||
}
|
||||
|
||||
mod blurg {
|
||||
#[allow(unused_imports)]
|
||||
pub use std::cmp::Ordering::*; // ok, re-export
|
||||
}
|
||||
|
||||
|
|
|
@ -19,6 +19,7 @@ mod in_fn_test {
|
|||
}
|
||||
|
||||
mod blurg {
|
||||
#[allow(unused_imports)]
|
||||
pub use std::cmp::Ordering::*; // ok, re-export
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue