We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
mut
1 parent db8086e commit 4855392Copy full SHA for 4855392
library/std/src/io/stdio.rs
@@ -220,7 +220,7 @@ fn handle_ebadf<T>(r: io::Result<T>, default: T) -> io::Result<T> {
220
///
221
/// fn main() -> io::Result<()> {
222
/// let mut buffer = String::new();
223
-/// let mut stdin = io::stdin(); // We get `Stdin` here.
+/// let stdin = io::stdin(); // We get `Stdin` here.
224
/// stdin.read_line(&mut buffer)?;
225
/// Ok(())
226
/// }
0 commit comments