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.
2 parents 890cd7a + 4855392 commit 51b3d51Copy full SHA for 51b3d51
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