diff --git a/src/unistd.rs b/src/unistd.rs index 10994380dc..f08f6d865f 100644 --- a/src/unistd.rs +++ b/src/unistd.rs @@ -2778,7 +2778,7 @@ mod tests { thread::spawn(move || { // set filesystem UID let _ = setfsuid(nobody.uid); - // try to open the temporaty file should fail with EACCES + // trying to open the temporary file should fail with EACCES let res = fs::File::open(&temp_path); assert!(res.is_err()); assert_eq!(res.err().unwrap().kind(), io::ErrorKind::PermissionDenied);