Rollup merge of #64606 - adrianheine:patch-1, r=sfackler
Remove unnecessary `mut` in doc example
This commit is contained in:
commit
ea58ed9421
@ -935,7 +935,7 @@ impl Stdio {
|
||||
/// .expect("Failed to spawn child process");
|
||||
///
|
||||
/// {
|
||||
/// let mut stdin = child.stdin.as_mut().expect("Failed to open stdin");
|
||||
/// let stdin = child.stdin.as_mut().expect("Failed to open stdin");
|
||||
/// stdin.write_all("Hello, world!".as_bytes()).expect("Failed to write to stdin");
|
||||
/// }
|
||||
///
|
||||
|
Loading…
x
Reference in New Issue
Block a user