Skip to content

Commit b921a34

Browse files
committed
Fix stable feature name and stabilization version of Read for &Stdin
1 parent 709ea74 commit b921a34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/std/src/io/stdio.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ impl Read for Stdin {
445445
}
446446
}
447447

448-
#[stable(feature = "rust1", since = "1.0.0")]
448+
#[stable(feature = "read_shared_stdin", since = "CURRENT_RUSTC_VERSION")]
449449
impl Read for &Stdin {
450450
fn read(&mut self, buf: &mut [u8]) -> io::Result<usize> {
451451
self.lock().read(buf)

0 commit comments

Comments
 (0)