14 lines
341 B
Rust
14 lines
341 B
Rust
|
//! 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, Seek, Write};
|
||
|
#[cfg(feature = "collections")] pub use super::BufRead;
|