We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 134f797 + 0989f5c commit a62395fCopy full SHA for a62395f
src/libcore/prelude.rs
@@ -10,7 +10,23 @@
10
11
//! The core prelude
12
//!
13
-//! For more information, see std::prelude.
+//! This module is intended for users of libcore which do not link to libstd as
14
+//! well. This module is not imported by default, but using the entire contents
15
+//! of this module will provide all of the useful traits and types in libcore
16
+//! that one would expect from the standard library as well.
17
+//!
18
+//! There is no method to automatically inject this prelude, and this prelude is
19
+//! a subset of the standard library's prelude.
20
21
+//! # Example
22
23
+//! ```ignore
24
+//! # fn main() {
25
+//! #![feature(globs)]
26
27
+//! use core::prelude::*;
28
+//! # }
29
+//! ```
30
31
// Reexported core operators
32
pub use kinds::{Copy, Send, Sized, Share};
0 commit comments