about summary refs log tree commit diff
path: root/src/librustc_data_structures/array_vec.rs
diff options
context:
space:
mode:
authorSimon Sapin <simon.sapin@exyr.org>2018-03-19 09:01:17 +0100
committerManish Goregaokar <manishsmail@gmail.com>2018-03-29 13:12:49 +0200
commitc3a63970dee2422e2fcc79d8b99303b4b046f444 (patch)
treef8cdc9df5af3d6f06bac1650ac7df2bbe549b7f3 /src/librustc_data_structures/array_vec.rs
parent409744bcb91f4efa35b8fcc9e7033523a86b90c2 (diff)
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/librustc_data_structures/array_vec.rs')
-rw-r--r--src/librustc_data_structures/array_vec.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_data_structures/array_vec.rs b/src/librustc_data_structures/array_vec.rs
index 511c407d45a..b40f2f92237 100644
--- a/src/librustc_data_structures/array_vec.rs
+++ b/src/librustc_data_structures/array_vec.rs
@@ -19,8 +19,8 @@ use std::slice;
 use std::fmt;
 use std::mem;
 use std::collections::range::RangeArgument;
-use std::collections::Bound::{Excluded, Included, Unbounded};
 use std::mem::ManuallyDrop;
+use std::ops::Bound::{Excluded, Included, Unbounded};
 
 pub unsafe trait Array {
     type Element;