1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 11:37:44 +00:00

Merge pull request #6027 from rex4539/clippy

cargo: fix feature = "cargo-clippy" deprecation
This commit is contained in:
Daniel Hofstetter 2024-02-28 14:39:51 +01:00 committed by GitHub
commit 18c9da349c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,7 +1,7 @@
[target.x86_64-unknown-redox] [target.x86_64-unknown-redox]
linker = "x86_64-unknown-redox-gcc" linker = "x86_64-unknown-redox-gcc"
[target.'cfg(feature = "cargo-clippy")'] [target.'cfg(clippy)']
rustflags = [ rustflags = [
"-Wclippy::use_self", "-Wclippy::use_self",
"-Wclippy::needless_pass_by_value", "-Wclippy::needless_pass_by_value",