about summary refs log tree commit diff
path: root/library/std/src/os/linux/process.rs
diff options
context:
space:
mode:
authorAskar Safin <safinaskar@gmail.com>2024-01-24 15:36:57 +0300
committerAskar Safin <safinaskar@gmail.com>2024-01-24 17:23:51 +0300
commitdf0c9c37c1d7458d1d06b370912f6595e0295079 (patch)
treeac8cdff13c44d907c4b2efe98ce1adcc86575c37 /library/std/src/os/linux/process.rs
parent1ee773e2421e23a249cb007dade8286c16eb5cd8 (diff)
downloadrust-df0c9c37c1d7458d1d06b370912f6595e0295079.tar.gz
rust-df0c9c37c1d7458d1d06b370912f6595e0295079.zip
Finishing clone3 clean up
Diffstat (limited to 'library/std/src/os/linux/process.rs')
-rw-r--r--library/std/src/os/linux/process.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/library/std/src/os/linux/process.rs b/library/std/src/os/linux/process.rs
index 51af432d056..2ba67a6dd1a 100644
--- a/library/std/src/os/linux/process.rs
+++ b/library/std/src/os/linux/process.rs
@@ -149,8 +149,7 @@ pub trait CommandExt: Sealed {
     /// The pidfd can be retrieved from the child with [`pidfd`] or [`take_pidfd`].
     ///
     /// A pidfd will only be created if it is possible to do so
-    /// in a guaranteed race-free manner (e.g. if the `clone3` system call
-    /// is supported). Otherwise, [`pidfd`] will return an error.
+    /// in a guaranteed race-free manner. Otherwise, [`pidfd`] will return an error.
     ///
     /// If a pidfd has been successfully created and not been taken from the `Child`
     /// then calls to `kill()`, `wait()` and `try_wait()` will use the pidfd