Skip to content

Commit 92b1b4c

Browse files
author
Stephan Dilly
committed
dont allow unused imports
1 parent 1d10dec commit 92b1b4c

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

asyncgit/src/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
33
#![forbid(unsafe_code)]
44
#![forbid(missing_docs)]
5+
#![deny(unused_imports)]
56
#![deny(clippy::all)]
67
#![deny(clippy::unwrap_used)]
78
#![deny(clippy::panic)]

scopetime/src/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
33
#![forbid(unsafe_code)]
44
#![forbid(missing_docs)]
5+
#![deny(unused_imports)]
56
#![deny(clippy::unwrap_used)]
67
#![deny(clippy::perf)]
78

src/main.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#![forbid(unsafe_code)]
2+
#![deny(unused_imports)]
23
#![deny(clippy::cargo)]
34
#![deny(clippy::pedantic)]
45
#![deny(clippy::perf)]

0 commit comments

Comments
 (0)