Enforce question mark not used in serde crate yet
Question mark regresses compile time by 6.5–7.5%.
This commit is contained in:
parent
0676673ca5
commit
91ec1c290f
@ -149,6 +149,8 @@
|
|||||||
must_use_candidate,
|
must_use_candidate,
|
||||||
)
|
)
|
||||||
)]
|
)]
|
||||||
|
// Restrictions
|
||||||
|
#![cfg_attr(feature = "cargo-clippy", deny(question_mark_used))]
|
||||||
// Rustc lints.
|
// Rustc lints.
|
||||||
#![deny(missing_docs, unused_imports)]
|
#![deny(missing_docs, unused_imports)]
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user