|
14 | 14 | //! well. This module is imported by default when `#![no_std]` is used in the
|
15 | 15 | //! same manner as the standard library's prelude.
|
16 | 16 |
|
17 |
| -#![unstable(feature = "core_prelude", |
18 |
| - reason = "the libcore prelude has not been scrutinized and \ |
19 |
| - stabilized yet", |
20 |
| - issue = "27701")] |
| 17 | +#![stable(feature = "core_prelude", since = "1.4.0")] |
21 | 18 |
|
22 | 19 | // Reexported core operators
|
23 |
| -pub use marker::{Copy, Send, Sized, Sync}; |
24 |
| -pub use ops::{Drop, Fn, FnMut, FnOnce}; |
| 20 | +#[doc(no_inline)] pub use marker::{Copy, Send, Sized, Sync}; |
| 21 | +#[doc(no_inline)] pub use ops::{Drop, Fn, FnMut, FnOnce}; |
25 | 22 |
|
26 | 23 | // Reexported functions
|
27 |
| -pub use mem::drop; |
| 24 | +#[doc(no_inline)] pub use mem::drop; |
28 | 25 |
|
29 | 26 | // Reexported types and traits
|
30 |
| -pub use char::CharExt; |
31 |
| -pub use clone::Clone; |
32 |
| -pub use cmp::{PartialEq, PartialOrd, Eq, Ord}; |
33 |
| -pub use convert::{AsRef, AsMut, Into, From}; |
34 |
| -pub use default::Default; |
35 |
| -pub use iter::IntoIterator; |
36 |
| -pub use iter::{Iterator, DoubleEndedIterator, Extend, ExactSizeIterator}; |
37 |
| -pub use option::Option::{self, Some, None}; |
38 |
| -pub use result::Result::{self, Ok, Err}; |
39 |
| -pub use slice::SliceExt; |
40 |
| -pub use str::StrExt; |
| 27 | +#[doc(no_inline)] pub use clone::Clone; |
| 28 | +#[doc(no_inline)] pub use cmp::{PartialEq, PartialOrd, Eq, Ord}; |
| 29 | +#[doc(no_inline)] pub use convert::{AsRef, AsMut, Into, From}; |
| 30 | +#[doc(no_inline)] pub use default::Default; |
| 31 | +#[doc(no_inline)] pub use iter::{Iterator, Extend, IntoIterator}; |
| 32 | +#[doc(no_inline)] pub use iter::{DoubleEndedIterator, ExactSizeIterator}; |
| 33 | +#[doc(no_inline)] pub use option::Option::{self, Some, None}; |
| 34 | +#[doc(no_inline)] pub use result::Result::{self, Ok, Err}; |
| 35 | + |
| 36 | +// Reexported extension traits for primitive types |
| 37 | +#[doc(no_inline)] pub use slice::SliceExt; |
| 38 | +#[doc(no_inline)] pub use str::StrExt; |
| 39 | +#[doc(no_inline)] pub use char::CharExt; |
0 commit comments