Remove unused Read implementation on sys::Windows::Stdin

This commit is contained in:
Paul Dicker 2019-02-14 06:29:10 +01:00
parent 06511573f2
commit cc20ed678e

View File

@ -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)