mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-30 04:27:45 +00:00
lint: allow clippy::needless_borrow
in perms.rs
This commit is contained in:
parent
0bb179311d
commit
72b7266f71
1 changed files with 1 additions and 0 deletions
|
@ -664,6 +664,7 @@ mod tests {
|
||||||
assert!(!is_root(&path, true));
|
assert!(!is_root(&path, true));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[allow(clippy::needless_borrow)]
|
||||||
#[cfg(unix)]
|
#[cfg(unix)]
|
||||||
#[test]
|
#[test]
|
||||||
fn test_literal_root() {
|
fn test_literal_root() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue