1 2 3 4 5 6 7 8 9 10 11 12 13 14
//! I/O Prelude。 //! //! 该模块的目的是通过在 I/O 重型模块的顶部添加全局导入来减轻许多常见 I/O traits 的导入: //! //! //! ``` //! # #![allow(unused_imports)] //! use std::io::prelude::*; //! ``` #![stable(feature = "rust1", since = "1.0.0")] #[stable(feature = "rust1", since = "1.0.0")] pub use super::{BufRead, Read, Seek, Write};