about summary refs log tree commit diff
path: root/src/libcore/prelude
diff options
context:
space:
mode:
authorSimon Sapin <simon.sapin@exyr.org>2018-04-07 21:56:02 +0200
committerSimon Sapin <simon.sapin@exyr.org>2018-04-21 09:47:37 +0200
commitf0705bf033363757a8a2901cd1a7bd76f0fea820 (patch)
treeacf32897096a473c675c4112efcbce258c3c91e2 /src/libcore/prelude
parent90f29fbdb105b65e8ddb2b5c8b834b8db32ef9ef (diff)
downloadrust-f0705bf033363757a8a2901cd1a7bd76f0fea820.tar.gz
rust-f0705bf033363757a8a2901cd1a7bd76f0fea820.zip
Replace StrExt with inherent str methods in libcore
Diffstat (limited to 'src/libcore/prelude')
-rw-r--r--src/libcore/prelude/v1.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libcore/prelude/v1.rs b/src/libcore/prelude/v1.rs
index 32c1531bdc0..8212648f2d8 100644
--- a/src/libcore/prelude/v1.rs
+++ b/src/libcore/prelude/v1.rs
@@ -62,4 +62,5 @@ pub use result::Result::{self, Ok, Err};
 pub use slice::SliceExt;
 #[stable(feature = "core_prelude", since = "1.4.0")]
 #[doc(no_inline)]
+#[cfg(stage0)]
 pub use str::StrExt;