Skip to content

Commit

Permalink
Update 2018 idioms comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
ehuss committed Apr 13, 2021
1 parent 10eb56f commit 00f3fc9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/cargo/lib.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#![cfg_attr(test, deny(warnings))]
// While we're getting used to 2018:
// For various reasons, some idioms are still allow'ed, but we would like to
// test and enforce them.
#![warn(rust_2018_idioms)]
#![cfg_attr(test, deny(warnings))]
// Due to some of the default clippy lints being somewhat subjective and not
// necessarily an improvement, we prefer to not use them at this time.
#![allow(clippy::all)]
Expand Down

0 comments on commit 00f3fc9

Please sign in to comment.