Skip to content

Commit cc20ed6

Browse files
committed
Remove unused Read implementation on sys::Windows::Stdin
1 parent 0651157 commit cc20ed6

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/libstd/sys/windows/stdio.rs

-9
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
#![unstable(issue = "0", feature = "windows_stdio")]
22

3-
use io::prelude::*;
4-
53
use cmp;
64
use io::{self, Cursor};
75
use ptr;
@@ -130,13 +128,6 @@ impl Stdin {
130128
}
131129
}
132130

133-
#[unstable(reason = "not public", issue = "0", feature = "fd_read")]
134-
impl<'a> Read for &'a Stdin {
135-
fn read(&mut self, buf: &mut [u8]) -> io::Result<usize> {
136-
(**self).read(buf)
137-
}
138-
}
139-
140131
impl Stdout {
141132
pub fn new() -> io::Result<Stdout> {
142133
Ok(Stdout)

0 commit comments

Comments
 (0)