about summary refs log tree commit diff
diff options
context:
space:
mode:
authortynopex <tynopex@users.noreply.github.com>2015-04-29 18:21:23 -0400
committertynopex <tynopex@users.noreply.github.com>2015-04-29 18:21:23 -0400
commit3abba10e4f01e317614e4d4b25682a87dac3a23e (patch)
treedec58a96e8f1c539fcd6796bb90cc0cbffeeff6a
parentcf053d72a038fc100d7fbb0875d281fcfedfd452 (diff)
downloadrust-3abba10e4f01e317614e4d4b25682a87dac3a23e.tar.gz
rust-3abba10e4f01e317614e4d4b25682a87dac3a23e.zip
Update process.rs
Make whitespace consistent
-rw-r--r--src/libstd/process.rs16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/libstd/process.rs b/src/libstd/process.rs
index 55ea3a5a836..8f8699f4b9f 100644
--- a/src/libstd/process.rs
+++ b/src/libstd/process.rs
@@ -41,12 +41,12 @@ use thread;
 /// use std::process::Command;
 ///
 /// let mut child = Command::new("/bin/cat")
-///     .arg("file.txt")
-///     .spawn()
-///     .unwrap_or_else(|e| { panic!("failed to execute child: {}", e) });
+///                         .arg("file.txt")
+///                         .spawn()
+///                         .unwrap_or_else(|e| { panic!("failed to execute child: {}", e) });
 ///
 /// let ecode = child.wait()
-///     .unwrap_or_else(|e| { panic!("failed to wait on child: {}", e) });
+///                  .unwrap_or_else(|e| { panic!("failed to wait on child: {}", e) });
 ///
 /// assert!(ecode.success());
 /// ```
@@ -123,10 +123,10 @@ impl Read for ChildStderr {
 /// use std::process::Command;
 ///
 /// let output = Command::new("sh")
-///     .arg("-c")
-///     .arg("echo hello")
-///     .output()
-///     .unwrap_or_else(|e| { panic!("failed to execute process: {}", e) });
+///                      .arg("-c")
+///                      .arg("echo hello")
+///                      .output()
+///                      .unwrap_or_else(|e| { panic!("failed to execute process: {}", e) });
 /// let hello = output.stdout;
 /// ```
 #[stable(feature = "process", since = "1.0.0")]