mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-19 02:57:33 +00:00

The heading style for `std::prelude` is to be consistent with the headings for `std` and `core`: `# The Rust Standard Library` and `# The Rust Core Library`, respectively.
15 lines
388 B
Rust
15 lines
388 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::*;
|
|
//! ```
|
|
|
|
#![stable(feature = "rust1", since = "1.0.0")]
|
|
|
|
#[stable(feature = "rust1", since = "1.0.0")]
|
|
pub use super::{BufRead, Read, Seek, Write};
|