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.
1 parent a9c2c57 commit 2164460Copy full SHA for 2164460
library/std/src/io/stdio.rs
@@ -450,6 +450,9 @@ impl Read for &Stdin {
450
fn read(&mut self, buf: &mut [u8]) -> io::Result<usize> {
451
self.lock().read(buf)
452
}
453
+ fn read_buf(&mut self, buf: BorrowedCursor<'_>) -> io::Result<()> {
454
+ self.lock().read_buf(buf)
455
+ }
456
fn read_vectored(&mut self, bufs: &mut [IoSliceMut<'_>]) -> io::Result<usize> {
457
self.lock().read_vectored(bufs)
458
0 commit comments