Skip to content

Commit

Permalink
lib: #![allow(clippy::needless_borrow)]
Browse files Browse the repository at this point in the history
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 <walters@verbum.org>
  • Loading branch information
cgwalters committed Dec 19, 2023
1 parent 034ba9d commit 48dfc24
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
#![cfg_attr(feature = "dox", feature(doc_cfg))]
#![deny(clippy::dbg_macro)]
#![deny(clippy::todo)]
// These two are in my experience the lints which are most likely
// to trigger, and among the least valuable to fix.
#![allow(clippy::needless_borrow)]
#![allow(clippy::needless_borrows_for_generic_args)]

pub mod cli;
pub(crate) mod deploy;
Expand Down

0 comments on commit 48dfc24

Please sign in to comment.