diff options
| author | bors <bors@rust-lang.org> | 2022-07-24 18:55:31 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-07-24 18:55:31 +0000 |
| commit | 7fe022f5aa32bbbb33c3a58755729d6667a461a9 (patch) | |
| tree | 60d5e26b42806961b1a772430a2a294d5a75c7f1 /library/std/src | |
| parent | 2a990f7c0fe4d00042269beb7ee67d0082de4e07 (diff) | |
| parent | 34d0c0abf66efa76fb8f6639eb0d922ba7844c5a (diff) | |
| download | rust-7fe022f5aa32bbbb33c3a58755729d6667a461a9.tar.gz rust-7fe022f5aa32bbbb33c3a58755729d6667a461a9.zip | |
Auto merge of #99687 - RalfJung:rollup-bojacrc, r=RalfJung
Rollup of 4 pull requests Successful merges: - #99644 (remove some provenance-related machine hooks that Miri no longer needs) - #99657 (Docs - remove unnecessary `mut` that gives a warning) - #99672 (Remove Clean trait implementation for more items) - #99678 (Update doc comments that refer to config parameter) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
Diffstat (limited to 'library/std/src')
| -rw-r--r-- | library/std/src/io/stdio.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/io/stdio.rs b/library/std/src/io/stdio.rs index e3b62894d0f..4d3736f7914 100644 --- a/library/std/src/io/stdio.rs +++ b/library/std/src/io/stdio.rs @@ -220,7 +220,7 @@ fn handle_ebadf<T>(r: io::Result<T>, default: T) -> io::Result<T> { /// /// fn main() -> io::Result<()> { /// let mut buffer = String::new(); -/// let mut stdin = io::stdin(); // We get `Stdin` here. +/// let stdin = io::stdin(); // We get `Stdin` here. /// stdin.read_line(&mut buffer)?; /// Ok(()) /// } |
