File tree Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Original file line number Diff line number Diff line change 10
10
11
11
//! The core prelude
12
12
//!
13
- //! For more information, see std::prelude.
13
+ //! 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
+ //! ```
14
30
15
31
// Reexported core operators
16
32
pub use kinds:: { Copy , Send , Sized , Share } ;
You can’t perform that action at this time.
0 commit comments