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 7, 2024
1 parent c98e50c commit c60b9ac
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 c60b9ac

Please sign in to comment.