diff options
| author | Bryan Tan <techniux@gmail.com> | 2017-10-15 13:11:14 -0700 |
|---|---|---|
| committer | Bryan Tan <techniux@gmail.com> | 2017-10-15 13:11:14 -0700 |
| commit | bb74b13b742d214d20bb646d5b8d3eaebaad9b8b (patch) | |
| tree | bcc49f4c0599523edea49367e150cea522661ba5 /src/libstd | |
| parent | e788e90bad6b1ee5c028d5536c373c3f2c8a3bc4 (diff) | |
| download | rust-bb74b13b742d214d20bb646d5b8d3eaebaad9b8b.tar.gz rust-bb74b13b742d214d20bb646d5b8d3eaebaad9b8b.zip | |
Fix std::process hello world example
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/process.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/process.rs b/src/libstd/process.rs index 5428ed59c68..38f218ba9d5 100644 --- a/src/libstd/process.rs +++ b/src/libstd/process.rs @@ -22,7 +22,7 @@ //! use std::process::Command; //! //! // Note that by default, the output of the command will be sent to stdout -//! let child = Command::new("echo") +//! let mut child = Command::new("echo") //! .arg("Hello world") //! .spawn() //! .expect("Failed to start process"); |
