Skip to content

Commit

Permalink
test: clean clippy needless_borrow false positive issue (#2310)
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveLauC committed Feb 9, 2024
1 parent ca173ff commit 062f6c0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions test/test_unistd.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1180,8 +1180,6 @@ fn test_access_file_exists() {
.expect("assertion failed");
}

//Clippy false positive https://github.com/rust-lang/rust-clippy/issues/9111
#[allow(clippy::needless_borrow)]
#[cfg(not(target_os = "redox"))]
#[test]
fn test_user_into_passwd() {
Expand Down

0 comments on commit 062f6c0

Please sign in to comment.