]> git.lizzy.rs Git - rust.git/blob - src/libstd/io/prelude.rs
Don't use ExpnKind::descr to get the name of a bang macro.
[rust.git] / src / libstd / io / prelude.rs
1 //! The I/O Prelude
2 //!
3 //! The purpose of this module is to alleviate imports of many common I/O traits
4 //! by adding a glob import to the top of I/O heavy modules:
5 //!
6 //! ```
7 //! # #![allow(unused_imports)]
8 //! use std::io::prelude::*;
9 //! ```
10
11 #![stable(feature = "rust1", since = "1.0.0")]
12
13 #[stable(feature = "rust1", since = "1.0.0")]
14 pub use super::{BufRead, Read, Seek, Write};