about summary refs log tree commit diff
path: root/src/libcollections
diff options
context:
space:
mode:
authorLuqman Aden <laden@csclub.uwaterloo.ca>2014-12-11 22:29:24 -0500
committerLuqman Aden <laden@csclub.uwaterloo.ca>2014-12-28 19:40:48 -0500
commitb44d7cb89c57b1fc0495b337dfddbe5cdc2ed6b2 (patch)
tree8b635a7045b5a8c0a153738a665b43a7107d6aa1 /src/libcollections
parente83272b62883f97b8717a8150d894e89d7ae18d6 (diff)
downloadrust-b44d7cb89c57b1fc0495b337dfddbe5cdc2ed6b2.tar.gz
rust-b44d7cb89c57b1fc0495b337dfddbe5cdc2ed6b2.zip
Don't expose NonZero through libstd.
Diffstat (limited to 'src/libcollections')
-rw-r--r--src/libcollections/vec.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libcollections/vec.rs b/src/libcollections/vec.rs
index 6f618657280..f65527d3f66 100644
--- a/src/libcollections/vec.rs
+++ b/src/libcollections/vec.rs
@@ -56,9 +56,10 @@ use core::hash::{mod, Hash};
 use core::iter::repeat;
 use core::kinds::marker::{ContravariantLifetime, InvariantType};
 use core::mem;
+use core::nonzero::NonZero;
 use core::num::{Int, UnsignedInt};
 use core::ops;
-use core::ptr::{mod, NonZero};
+use core::ptr;
 use core::raw::Slice as RawSlice;
 use core::uint;