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

clippy: fix warnings introduced by Rust 1.71.0

This commit is contained in:
Daniel Hofstetter 2023-07-13 17:23:35 +02:00
parent 0ee92981c4
commit 5d03d2d9d4
9 changed files with 118 additions and 123 deletions

View file

@ -1337,7 +1337,7 @@ fn test_cp_preserve_all_context_fails_on_non_selinux() {
}
#[test]
#[cfg(any(target_os = "android"))]
#[cfg(target_os = "android")]
fn test_cp_preserve_xattr_fails_on_android() {
// Because of the SELinux extended attributes used on Android, trying to copy extended
// attributes has to fail in this case, since we specify `--preserve=xattr` and this puts it
@ -2768,7 +2768,7 @@ fn test_same_file_force() {
}
/// Test that copying file to itself with forced backup succeeds.
#[cfg(all(not(windows)))]
#[cfg(not(windows))]
#[test]
fn test_same_file_force_backup() {
let (at, mut ucmd) = at_and_ucmd!();