249249
250250#![ stable( feature = "rust1" , since = "1.0.0" ) ]
251251
252+ use core:: { marker:: PhantomData } ;
253+ use core:: ctypes:: { c_void, iovec, iov_len_t} ;
254+
252255#[ cfg( test) ]
253256mod tests;
254257
255- use crate :: cmp;
256- use crate :: fmt;
257- use crate :: memchr;
258- use crate :: ops:: { Deref , DerefMut } ;
259- use crate :: ptr;
260- use crate :: slice;
261- use crate :: str;
262- use crate :: sys;
258+ use core:: cmp;
259+ use core:: fmt;
260+ use core:: slice:: memchr;
261+ use core:: ops:: { Deref , DerefMut } ;
262+ use core:: ptr;
263+ use core:: slice;
264+ use core:: str;
263265
264266#[ stable( feature = "rust1" , since = "1.0.0" ) ]
265267pub use self :: buffered:: IntoInnerError ;
@@ -270,24 +272,15 @@ pub use self::cursor::Cursor;
270272#[ stable( feature = "rust1" , since = "1.0.0" ) ]
271273pub use self :: error:: { Error , ErrorKind , Result } ;
272274#[ stable( feature = "rust1" , since = "1.0.0" ) ]
273- pub use self :: stdio:: { stderr, stdin, stdout, Stderr , Stdin , Stdout } ;
274- #[ stable( feature = "rust1" , since = "1.0.0" ) ]
275- pub use self :: stdio:: { StderrLock , StdinLock , StdoutLock } ;
276- #[ unstable( feature = "print_internals" , issue = "none" ) ]
277- pub use self :: stdio:: { _eprint, _print} ;
278- #[ unstable( feature = "libstd_io_internals" , issue = "42788" ) ]
279- #[ doc( no_inline, hidden) ]
280- pub use self :: stdio:: { set_panic, set_print} ;
281- #[ stable( feature = "rust1" , since = "1.0.0" ) ]
282275pub use self :: util:: { copy, empty, repeat, sink, Empty , Repeat , Sink } ;
283276
284277mod buffered;
285278mod cursor;
286279mod error;
287280mod impls;
288281pub mod prelude;
289- mod stdio;
290282mod util;
283+ use crate :: { vec:: Vec , string:: String } ;
291284
292285const DEFAULT_BUF_SIZE : usize = crate :: sys_common:: io:: DEFAULT_BUF_SIZE ;
293286
0 commit comments