mirror of
https://github.com/rust-lang/cargo.git
synced 2025-10-01 11:30:39 +00:00
Update 2018 idioms comment.
This commit is contained in:
parent
10eb56f2c4
commit
00f3fc90d1
@ -1,6 +1,7 @@
|
|||||||
#![cfg_attr(test, deny(warnings))]
|
// For various reasons, some idioms are still allow'ed, but we would like to
|
||||||
// While we're getting used to 2018:
|
// test and enforce them.
|
||||||
#![warn(rust_2018_idioms)]
|
#![warn(rust_2018_idioms)]
|
||||||
|
#![cfg_attr(test, deny(warnings))]
|
||||||
// Due to some of the default clippy lints being somewhat subjective and not
|
// 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.
|
// necessarily an improvement, we prefer to not use them at this time.
|
||||||
#![allow(clippy::all)]
|
#![allow(clippy::all)]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user