]> git.lizzy.rs Git - rust.git/commitdiff
Typo fix
authorJosh Triplett <josh@joshtriplett.org>
Sun, 18 Oct 2020 03:10:58 +0000 (20:10 -0700)
committerDominik Stolz <d.stolz@tum.de>
Wed, 21 Jul 2021 08:49:11 +0000 (10:49 +0200)
Co-authored-by: bjorn3 <bjorn3@users.noreply.github.com>
library/std/src/sys/unix/process/process_unix.rs

index c1605faceb6adab2ce3b0d5c681cdc03557c6305..674c694e4fc73c9e99e7d9a48c4d220fcf3a63cd 100644 (file)
@@ -135,7 +135,7 @@ fn do_fork(&mut self) -> Result<(libc::c_long, libc::pid_t), io::Error> {
         let mut pidfd: libc::pid_t = -1;
 
         // On Linux, attempt to use the `clone3` syscall, which
-        // supports more argument (in prarticular, the ability to create a pidfd).
+        // supports more argument (in particular, the ability to create a pidfd).
         // If this fails, we will fall through this block to a call to `fork()`
         cfg_if::cfg_if! {
             if #[cfg(target_os = "linux")] {