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:
use std::io::prelude::*;
pub use super::BufRead; |
pub use super::Read; |
pub use super::Seek; |
pub use super::Write; |
© 2010 The Rust Project Developers
Licensed under the Apache License, Version 2.0 or the MIT license, at your option.
https://doc.rust-lang.org/std/io/prelude/index.html