Remove unused Read implementation on sys::Windows::Stdin
This commit is contained in:
parent
06511573f2
commit
cc20ed678e
@ -1,7 +1,5 @@
|
||||
#![unstable(issue = "0", feature = "windows_stdio")]
|
||||
|
||||
use io::prelude::*;
|
||||
|
||||
use cmp;
|
||||
use io::{self, Cursor};
|
||||
use ptr;
|
||||
@ -130,13 +128,6 @@ pub fn read(&self, buf: &mut [u8]) -> io::Result<usize> {
|
||||
}
|
||||
}
|
||||
|
||||
#[unstable(reason = "not public", issue = "0", feature = "fd_read")]
|
||||
impl<'a> Read for &'a Stdin {
|
||||
fn read(&mut self, buf: &mut [u8]) -> io::Result<usize> {
|
||||
(**self).read(buf)
|
||||
}
|
||||
}
|
||||
|
||||
impl Stdout {
|
||||
pub fn new() -> io::Result<Stdout> {
|
||||
Ok(Stdout)
|
||||
|
Loading…
Reference in New Issue
Block a user