diff --git a/tokio/tests/fs_try_exists.rs b/tokio/tests/fs_try_exists.rs index 04c359ef30d..c0f30171515 100644 --- a/tokio/tests/fs_try_exists.rs +++ b/tokio/tests/fs_try_exists.rs @@ -17,7 +17,6 @@ async fn try_exists() { assert_eq!(fs::try_exists(existing_path).await.unwrap(), true); assert_eq!(fs::try_exists(nonexisting_path).await.unwrap(), false); - // FreeBSD root user always has permission to stat. #[cfg(not(freebsd))] { let permission_denied_directory_path = dir.path().join("baz");