summary refs log tree commit diff
path: root/src/libstd/sys/unix
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2019-02-01 19:57:06 +0100
committerRalf Jung <post@ralfj.de>2019-02-01 19:57:06 +0100
commitd48433d920ad27ab57a27f087bcdec79ab36bfdc (patch)
tree427f5909e3a1cb556b702642163a5b8db6ab12fe /src/libstd/sys/unix
parent6bfb280189ef6960525f18364c1b4644a913f4ce (diff)
downloadrust-d48433d920ad27ab57a27f087bcdec79ab36bfdc.tar.gz
rust-d48433d920ad27ab57a27f087bcdec79ab36bfdc.zip
also replace before_exec by pre_exec on redox
Diffstat (limited to 'src/libstd/sys/unix')
-rw-r--r--src/libstd/sys/unix/ext/process.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/sys/unix/ext/process.rs b/src/libstd/sys/unix/ext/process.rs
index f5fc26dc9cc..7cc5e994593 100644
--- a/src/libstd/sys/unix/ext/process.rs
+++ b/src/libstd/sys/unix/ext/process.rs
@@ -36,7 +36,7 @@ pub trait CommandExt {
     /// will be called and the spawn operation will immediately return with a
     /// failure.
     ///
-    /// # Notes
+    /// # Notes and Safety
     ///
     /// This closure will be run in the context of the child process after a
     /// `fork`. This primarily means that any modifications made to memory on