1
0
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:
John Eckersberg
2024-07-24 12:18:53 -04:00
parent bc28c591c1
commit f1e6abfb32
3 changed files with 4 additions and 7 deletions

View File

@@ -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"