about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorAlexis Bourget <alexis.bourget@gmail.com>2020-06-19 21:19:17 +0200
committerAlexis Bourget <alexis.bourget@gmail.com>2020-06-19 21:19:17 +0200
commit8f0bd5ffe66bb08d00158c5edf36902f1a356045 (patch)
treed3f46d8f94e1179d43498b39d0e2b2cbf4ad963c /src/libstd
parente55d3f9c5213fe1a25366450127bdff67ad1eca2 (diff)
downloadrust-8f0bd5ffe66bb08d00158c5edf36902f1a356045.tar.gz
rust-8f0bd5ffe66bb08d00158c5edf36902f1a356045.zip
Update the doc for std::prelude, removing the "technical part" section
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/prelude/mod.rs16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/libstd/prelude/mod.rs b/src/libstd/prelude/mod.rs
index 3085c3d8296..48f7cf16988 100644
--- a/src/libstd/prelude/mod.rs
+++ b/src/libstd/prelude/mod.rs
@@ -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