From 8f0bd5ffe66bb08d00158c5edf36902f1a356045 Mon Sep 17 00:00:00 2001 From: Alexis Bourget Date: Fri, 19 Jun 2020 21:19:17 +0200 Subject: [PATCH] Update the doc for std::prelude, removing the "technical part" section --- src/libstd/prelude/mod.rs | 16 ---------------- 1 file changed, 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 -- 2.44.0