Skip to content

Commit 4855392

Browse files
author
Phosra
authored
Remove mut
1 parent db8086e commit 4855392

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: library/std/src/io/stdio.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ fn handle_ebadf<T>(r: io::Result<T>, default: T) -> io::Result<T> {
220220
///
221221
/// fn main() -> io::Result<()> {
222222
/// let mut buffer = String::new();
223-
/// let mut stdin = io::stdin(); // We get `Stdin` here.
223+
/// let stdin = io::stdin(); // We get `Stdin` here.
224224
/// stdin.read_line(&mut buffer)?;
225225
/// Ok(())
226226
/// }

0 commit comments

Comments
 (0)