diff options
| author | tynopex <tynopex@users.noreply.github.com> | 2015-04-29 18:21:23 -0400 |
|---|---|---|
| committer | tynopex <tynopex@users.noreply.github.com> | 2015-04-29 18:21:23 -0400 |
| commit | 3abba10e4f01e317614e4d4b25682a87dac3a23e (patch) | |
| tree | dec58a96e8f1c539fcd6796bb90cc0cbffeeff6a | |
| parent | cf053d72a038fc100d7fbb0875d281fcfedfd452 (diff) | |
| download | rust-3abba10e4f01e317614e4d4b25682a87dac3a23e.tar.gz rust-3abba10e4f01e317614e4d4b25682a87dac3a23e.zip | |
Update process.rs
Make whitespace consistent
| -rw-r--r-- | src/libstd/process.rs | 16 |
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")] |
