Skip to content

Commit

Permalink
Allow unwraps for tests in lib.rs instead of a separate config file
Browse files Browse the repository at this point in the history
  • Loading branch information
fjarri committed Nov 9, 2024
1 parent a221cc4 commit b9e7b4c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion clippy.toml

This file was deleted.

3 changes: 1 addition & 2 deletions manul/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -13,6 +11,7 @@
unused_qualifications,
missing_debug_implementations
)]
#![cfg_attr(not(test), warn(clippy::unwrap_used, clippy::indexing_slicing,))]

extern crate alloc;

Expand Down

0 comments on commit b9e7b4c

Please sign in to comment.