mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-04-28 14:57:56 +00:00
Enforce question mark not used in serde crate yet
Question mark regresses compile time by 6.5–7.5%.
This commit is contained in:
@@ -149,6 +149,8 @@
|
||||
must_use_candidate,
|
||||
)
|
||||
)]
|
||||
// Restrictions
|
||||
#![cfg_attr(feature = "cargo-clippy", deny(question_mark_used))]
|
||||
// Rustc lints.
|
||||
#![deny(missing_docs, unused_imports)]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user