Rollup merge of #64606 - adrianheine:patch-1, r=sfackler

Remove unnecessary `mut` in doc example
This commit is contained in:
Mazdak Farrokhzad 2019-09-19 18:31:41 +02:00 committed by GitHub
commit ea58ed9421
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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");
/// }
///