about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorMartin Pool <mbp@sourcefrog.net>2015-06-05 17:27:04 -0700
committerMartin Pool <mbp@sourcefrog.net>2015-06-05 17:27:04 -0700
commitcd9085489925601596773e9dbdec99432ed4255b (patch)
tree8fa71560383e8118902fc98b1ceb2942204b4a62 /src/libstd
parentc78c0994b1df5e365058f301330d06fa035c3734 (diff)
downloadrust-cd9085489925601596773e9dbdec99432ed4255b.tar.gz
rust-cd9085489925601596773e9dbdec99432ed4255b.zip
Doc fix for process.rs
File handles are inherited from, not by, the parent process
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/process.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/process.rs b/src/libstd/process.rs
index 42d9ad81b59..e8f2c4eefd4 100644
--- a/src/libstd/process.rs
+++ b/src/libstd/process.rs
@@ -268,7 +268,7 @@ impl Command {
 
     /// Executes the command as a child process, returning a handle to it.
     ///
-    /// By default, stdin, stdout and stderr are inherited by the parent.
+    /// By default, stdin, stdout and stderr are inherited from the parent.
     #[stable(feature = "process", since = "1.0.0")]
     pub fn spawn(&mut self) -> io::Result<Child> {
         self.spawn_inner(StdioImp::Raw(imp::Stdio::Inherit))