about summary refs log tree commit diff
path: root/src/test/ui/command/command-create-pidfd.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/command/command-create-pidfd.rs')
-rw-r--r--src/test/ui/command/command-create-pidfd.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/ui/command/command-create-pidfd.rs b/src/test/ui/command/command-create-pidfd.rs
index 248ae3457d7..db728be09df 100644
--- a/src/test/ui/command/command-create-pidfd.rs
+++ b/src/test/ui/command/command-create-pidfd.rs
@@ -1,13 +1,13 @@
 // run-pass
-// linux-only - pidfds are a linux-specific concept
+// only-linux - pidfds are a linux-specific concept
 
 #![feature(linux_pidfd)]
 use std::os::linux::process::{CommandExt, ChildExt};
 use std::process::Command;
 
 fn main() {
-    // We don't assert the precise value, since the standard libarary
-    // may be opened other file descriptors before our code ran.
+    // We don't assert the precise value, since the standard library
+    // might have opened other file descriptors before our code runs.
     let _ = Command::new("echo")
         .create_pidfd(true)
         .spawn()