diff --git a/src/libstd/process.rs b/src/libstd/process.rs index ad64ed66e8ec7..53babd449a992 100644 --- a/src/libstd/process.rs +++ b/src/libstd/process.rs @@ -390,7 +390,7 @@ impl fmt::Debug for ChildStderr { /// /// let mut echo_hello = Command::new("sh"); /// echo_hello.arg("-c") -/// .arg("echo hello"); +/// .arg("echo hello"); /// let hello_1 = echo_hello.output().expect("failed to execute process"); /// let hello_2 = echo_hello.output().expect("failed to execute process"); /// ```