From cd9085489925601596773e9dbdec99432ed4255b Mon Sep 17 00:00:00 2001 From: Martin Pool Date: Fri, 5 Jun 2015 17:27:04 -0700 Subject: [PATCH 1/2] Doc fix for process.rs File handles are inherited from, not by, the parent process --- src/libstd/process.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libstd/process.rs b/src/libstd/process.rs index 42d9ad81b598a..e8f2c4eefd4a5 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 { self.spawn_inner(StdioImp::Raw(imp::Stdio::Inherit)) From 17d76b350b6fc73f7ea3fee9046b74740906bf37 Mon Sep 17 00:00:00 2001 From: Martin Pool Date: Fri, 5 Jun 2015 17:32:34 -0700 Subject: [PATCH 2/2] Another small grammar fix for process.rs --- src/libstd/process.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libstd/process.rs b/src/libstd/process.rs index e8f2c4eefd4a5..ee7cf009fc4d9 100644 --- a/src/libstd/process.rs +++ b/src/libstd/process.rs @@ -300,7 +300,7 @@ impl Command { /// Executes a command as a child process, waiting for it to finish and /// collecting its exit status. /// - /// By default, stdin, stdout and stderr are inherited by the parent. + /// By default, stdin, stdout and stderr are inherited from the parent. /// /// # Examples ///