Skip to content

Commit bb74b13

Browse files
committed
Fix std::process hello world example
1 parent e788e90 commit bb74b13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/process.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
//! use std::process::Command;
2323
//!
2424
//! // Note that by default, the output of the command will be sent to stdout
25-
//! let child = Command::new("echo")
25+
//! let mut child = Command::new("echo")
2626
//! .arg("Hello world")
2727
//! .spawn()
2828
//! .expect("Failed to start process");

0 commit comments

Comments
 (0)