Skip to content

Commit 8f0bd5f

Browse files
committed
Update the doc for std::prelude, removing the "technical part" section
1 parent e55d3f9 commit 8f0bd5f

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

src/libstd/prelude/mod.rs

-16
Original file line numberDiff line numberDiff line change
@@ -10,22 +10,6 @@
1010
//! things, particularly traits, which are used in almost every single Rust
1111
//! program.
1212
//!
13-
//! On a technical level, Rust inserts
14-
//!
15-
//! ```
16-
//! # #[allow(unused_extern_crates)]
17-
//! extern crate std;
18-
//! ```
19-
//!
20-
//! into the crate root of every crate, and
21-
//!
22-
//! ```
23-
//! # #[allow(unused_imports)]
24-
//! use std::prelude::v1::*;
25-
//! ```
26-
//!
27-
//! into every module.
28-
//!
2913
//! # Other preludes
3014
//!
3115
//! Preludes can be seen as a pattern to make using multiple types more

0 commit comments

Comments
 (0)