about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
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 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");