token: Enforce the same lint configs
This commit is contained in:
parent
63f64ee8c4
commit
2e68228fee
|
@ -63,6 +63,21 @@
|
||||||
//! }
|
//! }
|
||||||
//! ```
|
//! ```
|
||||||
|
|
||||||
|
#![deny(
|
||||||
|
asm_sub_register,
|
||||||
|
deprecated,
|
||||||
|
missing_abi,
|
||||||
|
unsafe_code,
|
||||||
|
unused_macros,
|
||||||
|
unused_must_use,
|
||||||
|
unused_unsafe
|
||||||
|
)]
|
||||||
|
#![deny(clippy::from_over_into, clippy::needless_question_mark)]
|
||||||
|
#![cfg_attr(
|
||||||
|
not(debug_assertions),
|
||||||
|
deny(unused_imports, unused_mut, unused_variables)
|
||||||
|
)]
|
||||||
|
|
||||||
pub mod util;
|
pub mod util;
|
||||||
|
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
|
|
Loading…
Reference in a new issue