summary refs log tree commit diff
path: root/src/libstd/ffi
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2015-03-18 09:36:18 -0700
committerAlex Crichton <alex@alexcrichton.com>2015-03-18 16:32:32 -0700
commitfccf5a00056b1d72065951a4428070326df1cfb5 (patch)
tree481e99dcf4197b0b25cd765877c1b132f768d772 /src/libstd/ffi
parent94a95067e017252d4928a4292a6aeef66902e694 (diff)
downloadrust-fccf5a00056b1d72065951a4428070326df1cfb5.tar.gz
rust-fccf5a00056b1d72065951a4428070326df1cfb5.zip
Register new snapshots
Diffstat (limited to 'src/libstd/ffi')
-rw-r--r--src/libstd/ffi/c_str.rs5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/libstd/ffi/c_str.rs b/src/libstd/ffi/c_str.rs
index 28f22468d22..fc4f03ff3a5 100644
--- a/src/libstd/ffi/c_str.rs
+++ b/src/libstd/ffi/c_str.rs
@@ -22,12 +22,7 @@ use old_io;
 use ops::Deref;
 use option::Option::{self, Some, None};
 use result::Result::{self, Ok, Err};
-#[cfg(stage0)]
-use slice::{self, SliceExt};
-#[cfg(not(stage0))]
 use slice;
-#[cfg(stage0)]
-use str::StrExt;
 use string::String;
 use vec::Vec;