Skip to content

Commit

Permalink
Update the doc for std::prelude, removing the "technical part" section
Browse files Browse the repository at this point in the history
  • Loading branch information
poliorcetics committed Jun 19, 2020
1 parent e55d3f9 commit 8f0bd5f
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions src/libstd/prelude/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,6 @@
//! things, particularly traits, which are used in almost every single Rust
//! program.
//!
//! On a technical level, Rust inserts
//!
//! ```
//! # #[allow(unused_extern_crates)]
//! extern crate std;
//! ```
//!
//! into the crate root of every crate, and
//!
//! ```
//! # #[allow(unused_imports)]
//! use std::prelude::v1::*;
//! ```
//!
//! into every module.
//!
//! # Other preludes
//!
//! Preludes can be seen as a pattern to make using multiple types more
Expand Down

0 comments on commit 8f0bd5f

Please sign in to comment.