Skip to content

Commit

Permalink
minor nit
Browse files Browse the repository at this point in the history
  • Loading branch information
nyurik committed Jul 20, 2024
1 parent f5737bf commit f8436db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/std/src/sys/pal/unix/process/process_unix.rs
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ impl Command {

// Attempts to fork the process. If successful, returns Ok((0, -1))
// in the child, and Ok((child_pid, -1)) in the parent.
#[cfg(not(any(target_os = "watchos", target_os = "tvos", target_os = "nto",)))]
#[cfg(not(any(target_os = "watchos", target_os = "tvos", target_os = "nto")))]
unsafe fn do_fork(&mut self) -> Result<pid_t, io::Error> {
cvt(libc::fork())
}
Expand Down

0 comments on commit f8436db

Please # to comment.