1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
//! The I/O Prelude //! //! The purpose of this module is to alleviate imports of many common I/O traits //! by adding a glob import to the top of I/O heavy modules: //! //! ``` //! # #![allow(unused_imports)] //! use std::io::prelude::*; //! ``` pub use super::{Read, Write, Seek}; #[cfg(feature="collections")] pub use super::BufRead; #[cfg(feature="collections")] pub use alloc::boxed::Box; #[cfg(feature="collections")] pub use collections::vec::Vec;