Merge pull request #6052 from sylvestre/clippy43

Fix clippy warnings
This commit is contained in:
Daniel Hofstetter
2024-03-10 13:31:08 +01:00
committed by GitHub
3 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -3781,7 +3781,7 @@ fn test_acl_preserve() {
// calling the command directly. xattr requires some dev packages to be installed
// and it adds a complex dependency just for a test
match Command::new("setfacl")
.args(["-m", "group::rwx", &path1])
.args(["-m", "group::rwx", path1])
.status()
.map(|status| status.code())
{
+1
View File
@@ -294,6 +294,7 @@ fn test_date_for_no_permission_file() {
use std::os::unix::fs::PermissionsExt;
let file = std::fs::OpenOptions::new()
.create(true)
.truncate(true)
.write(true)
.open(at.plus(FILE))
.unwrap();
+1 -1
View File
@@ -1590,7 +1590,7 @@ fn test_acl() {
// calling the command directly. xattr requires some dev packages to be installed
// and it adds a complex dependency just for a test
match Command::new("setfacl")
.args(["-m", "group::rwx", &path1])
.args(["-m", "group::rwx", path1])
.status()
.map(|status| status.code())
{