Make crypto/ clippy-clean, mostly by telling clippy to shut up
[dnssec-prover] / src / lib.rs
index 77c3cd94695e0a2d76f78aeb263a5567e7cb8554..c402a720bd49e3b512d34c1db084b10a32ba743c 100644 (file)
 // Luckily, it seems to work fine in 1.63 with the feature flag (and RUSTC_BOOTSTRAP=1) enabled.
 #![cfg_attr(rust_1_63, feature(const_slice_from_raw_parts))]
 
+#![allow(clippy::needless_lifetimes)] // lifetimes improve readability
+#![allow(clippy::needless_borrow)] // borrows indicate read-only/non-move
+#![allow(clippy::too_many_arguments)] // sometimes we don't have an option
+#![allow(clippy::identity_op)] // sometimes identities improve readability for repeated actions
+#![allow(clippy::erasing_op)] // sometimes identities improve readability for repeated actions
+
 #![cfg_attr(not(feature = "std"), no_std)]
 extern crate alloc;