Skip to content

Commit 5b118f5

Browse files
author
Jorge Aparicio
committed
impl str
1 parent b2f3755 commit 5b118f5

File tree

17 files changed

+1168
-4
lines changed

17 files changed

+1168
-4
lines changed

src/libcollections/lib.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
#![feature(box_syntax)]
2828
#![feature(box_patterns)]
2929
#![feature(core)]
30+
#![feature(lang_items)]
3031
#![feature(staged_api)]
3132
#![feature(unboxed_closures)]
3233
#![feature(unicode)]
@@ -162,7 +163,10 @@ mod prelude {
162163

163164
// in core and collections (may differ).
164165
pub use slice::{AsSlice, SliceExt};
166+
#[cfg(stage0)]
165167
pub use str::{Str, StrExt};
168+
#[cfg(not(stage0))]
169+
pub use str::Str;
166170

167171
// from other crates.
168172
pub use alloc::boxed::Box;

0 commit comments

Comments
 (0)