From c14ecd0aaa13c31df8a06cfaa1a36e00cfa8f6be Mon Sep 17 00:00:00 2001 From: Marco Conte Date: Tue, 28 Jan 2020 17:54:41 +0000 Subject: [PATCH] fix typos --- src/unistd.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);