Skip to content

Commit 48dfc24

Browse files
committed
lib: #![allow(clippy::needless_borrow)]
In my experience this is far and away the clippy lint that is: - Most common to trigger (especially when refactoring code) - The least valuable to fix; there's no performance or correctness concerns really Signed-off-by: Colin Walters <[email protected]>
1 parent 034ba9d commit 48dfc24

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/src/lib.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@
1212
#![cfg_attr(feature = "dox", feature(doc_cfg))]
1313
#![deny(clippy::dbg_macro)]
1414
#![deny(clippy::todo)]
15+
// These two are in my experience the lints which are most likely
16+
// to trigger, and among the least valuable to fix.
17+
#![allow(clippy::needless_borrow)]
18+
#![allow(clippy::needless_borrows_for_generic_args)]
1519

1620
pub mod cli;
1721
pub(crate) mod deploy;

0 commit comments

Comments
 (0)