diff options
| author | bors <bors@rust-lang.org> | 2019-09-19 22:41:46 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2019-09-19 22:41:46 +0000 |
| commit | 53b352edb6f441bc3cf5386806fcc4686f275130 (patch) | |
| tree | d80f5e453cbd58d0a450a6acea1f9555cd643ecb /src/libstd | |
| parent | 9b9d2aff8de4d499b4ba7ca406e000f8d3754ea7 (diff) | |
| parent | 99cbffb15fd0e17ee27c1e161a6b1e37215c514b (diff) | |
| download | rust-53b352edb6f441bc3cf5386806fcc4686f275130.tar.gz rust-53b352edb6f441bc3cf5386806fcc4686f275130.zip | |
Auto merge of #64616 - Centril:rollup-du6728f, r=Centril
Rollup of 6 pull requests Successful merges: - #63448 (fix Miri discriminant handling) - #64592 (Point at original span when emitting unreachable lint) - #64601 (Fix backticks in documentation) - #64606 (Remove unnecessary `mut` in doc example) - #64611 (rustbuild: Don't package libstd twice) - #64613 (rustbuild: Copy crate doc files fewer times) Failed merges: r? @ghost
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/process.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/process.rs b/src/libstd/process.rs index b8d57cfafea..c6dc02fea2d 100644 --- a/src/libstd/process.rs +++ b/src/libstd/process.rs @@ -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"); /// } /// |
