diff options
| author | Simon Sapin <simon.sapin@exyr.org> | 2018-03-19 09:01:17 +0100 |
|---|---|---|
| committer | Manish Goregaokar <manishsmail@gmail.com> | 2018-03-29 13:12:49 +0200 |
| commit | c3a63970dee2422e2fcc79d8b99303b4b046f444 (patch) | |
| tree | f8cdc9df5af3d6f06bac1650ac7df2bbe549b7f3 /src/liballoc/vec.rs | |
| parent | 409744bcb91f4efa35b8fcc9e7033523a86b90c2 (diff) | |
| download | rust-c3a63970dee2422e2fcc79d8b99303b4b046f444.tar.gz rust-c3a63970dee2422e2fcc79d8b99303b4b046f444.zip | |
Move alloc::Bound to {core,std}::ops
The stable reexport `std::collections::Bound` is now deprecated. Another deprecated reexport could be added in `alloc`, but that crate is unstable.
Diffstat (limited to 'src/liballoc/vec.rs')
| -rw-r--r-- | src/liballoc/vec.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liballoc/vec.rs b/src/liballoc/vec.rs index bcc999d7386..280570ecd65 100644 --- a/src/liballoc/vec.rs +++ b/src/liballoc/vec.rs @@ -75,6 +75,7 @@ use core::marker::PhantomData; use core::mem; #[cfg(not(test))] use core::num::Float; +use core::ops::Bound::{Excluded, Included, Unbounded}; use core::ops::{InPlace, Index, IndexMut, Place, Placer}; use core::ops; use core::ptr; @@ -87,7 +88,6 @@ use boxed::Box; use raw_vec::RawVec; use super::range::RangeArgument; use super::allocator::CollectionAllocErr; -use Bound::{Excluded, Included, Unbounded}; /// A contiguous growable array type, written `Vec<T>` but pronounced 'vector'. /// |
