diff --git a/clippy.toml b/clippy.toml deleted file mode 100644 index 154626e..0000000 --- a/clippy.toml +++ /dev/null @@ -1 +0,0 @@ -allow-unwrap-in-tests = true diff --git a/manul/src/lib.rs b/manul/src/lib.rs index ad55b47..c3e9b8b 100644 --- a/manul/src/lib.rs +++ b/manul/src/lib.rs @@ -3,8 +3,6 @@ #![doc = include_str!("../../README.md")] #![warn( clippy::mod_module_files, - clippy::unwrap_used, - clippy::indexing_slicing, missing_docs, missing_copy_implementations, rust_2018_idioms, @@ -13,6 +11,7 @@ unused_qualifications, missing_debug_implementations )] +#![cfg_attr(not(test), warn(clippy::unwrap_used, clippy::indexing_slicing,))] extern crate alloc;