From 062f6c0f0306743a401138fc2612d59e818d5768 Mon Sep 17 00:00:00 2001 From: SteveLauC Date: Fri, 9 Feb 2024 09:12:14 +0800 Subject: [PATCH] test: clean clippy needless_borrow false positive issue (#2310) --- test/test_unistd.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/test/test_unistd.rs b/test/test_unistd.rs index ddabbd4fd4..56dc59e720 100644 --- a/test/test_unistd.rs +++ b/test/test_unistd.rs @@ -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() {