Skip to content

Commit

Permalink
Fix stable feature name and stabilization version of Read for &Stdin
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Feb 26, 2024
1 parent 902a9dc commit a9c2c57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/std/src/io/stdio.rs
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ impl Read for Stdin {
}
}

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

0 comments on commit a9c2c57

Please sign in to comment.