We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
mut
1 parent 9b9d2af commit c23e78aCopy full SHA for c23e78a
src/libstd/process.rs
@@ -935,7 +935,7 @@ impl Stdio {
935
/// .expect("Failed to spawn child process");
936
///
937
/// {
938
- /// let mut stdin = child.stdin.as_mut().expect("Failed to open stdin");
+ /// let stdin = child.stdin.as_mut().expect("Failed to open stdin");
939
/// stdin.write_all("Hello, world!".as_bytes()).expect("Failed to write to stdin");
940
/// }
941
0 commit comments