1
Fork 0

Remove unnecessary mut in doc example

This commit is contained in:
Adrian Heine né Lang 2019-09-19 13:36:10 +02:00 committed by GitHub
parent 9b9d2aff8d
commit c23e78a38b
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");
/// }
///