Skip to content

Commit 00f3fc9

Browse files
committed
Update 2018 idioms comment.
1 parent 10eb56f commit 00f3fc9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/cargo/lib.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
#![cfg_attr(test, deny(warnings))]
2-
// While we're getting used to 2018:
1+
// For various reasons, some idioms are still allow'ed, but we would like to
2+
// test and enforce them.
33
#![warn(rust_2018_idioms)]
4+
#![cfg_attr(test, deny(warnings))]
45
// Due to some of the default clippy lints being somewhat subjective and not
56
// necessarily an improvement, we prefer to not use them at this time.
67
#![allow(clippy::all)]

0 commit comments

Comments
 (0)