mirror of
https://github.com/containers/bootc.git
synced 2026-02-05 06:45:13 +01:00
build: move needless_borrow lint allows to be global
A new instance of this snuck in under xtask, this will make sure it's covered everywhere going forward. Signed-off-by: John Eckersberg <jeckersb@redhat.com>
This commit is contained in:
@@ -58,3 +58,7 @@ unused_must_use = "forbid"
|
||||
# These should only be in local code
|
||||
dbg_macro = "deny"
|
||||
todo = "deny"
|
||||
# These two are in my experience the lints which are most likely
|
||||
# to trigger, and among the least valuable to fix.
|
||||
needless_borrow = "allow"
|
||||
needless_borrows_for_generic_args = "allow"
|
||||
|
||||
Reference in New Issue
Block a user