Skip to content

Commit

Permalink
typo fix
Browse files Browse the repository at this point in the history
Co-authored-by: rusty-snake <41237666+rusty-snake@users.noreply.github.com>
  • Loading branch information
RalfJung and rusty-snake committed Jul 29, 2024
1 parent 87bbe0b commit b8c3f1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/std/src/os/unix/process.rs
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ pub trait CommandExt: Sealed {
/// `before_exec` used to be a safe method, but it needs to be unsafe since the closure may only
/// perform operations that are *async-signal-safe*. Hence it got deprecated in favor of the
/// unsafe [`pre_exec`]. Meanwhile, Rust gained the ability to make an existing safe method
/// fully unsafe in a new edition, which is how `before_exec` became `unsafe`It still also
/// fully unsafe in a new edition, which is how `before_exec` became `unsafe`. It still also
/// remains deprecated; `pre_exec` should be used instead.
///
/// [`pre_exec`]: CommandExt::pre_exec
Expand Down

0 comments on commit b8c3f1e

Please sign in to comment.