Skip to main content

alloc/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//! # #![feature(alloc_io)]
8//! # #![allow(unused_imports)]
9//! use alloc::io::prelude::*;
10//! ```
11
12#[stable(feature = "rust1", since = "1.0.0")]
13pub use crate::io::{BufRead, Read, Seek, Write};