Update to track changes in liballoc.

This commit is contained in:
whitequark 2018-07-11 01:00:22 +00:00
parent 2bf14bb9a4
commit 7d917b271c
1 changed files with 5 additions and 3 deletions

View File

@ -7,11 +7,13 @@ use core::ops::{Bound, RangeBounds};
#[cfg(feature = "std")] #[cfg(feature = "std")]
use std::collections::BTreeMap; use std::collections::BTreeMap;
#[cfg(feature = "std")] #[cfg(feature = "std")]
use std::collections::btree_map::{Iter as BTreeIter, IterMut as BTreeIterMut, Range as BTreeRange}; use std::collections::btree_map::{Iter as BTreeIter, IterMut as BTreeIterMut,
Range as BTreeRange};
#[cfg(all(feature = "alloc", not(feature = "std")))] #[cfg(all(feature = "alloc", not(feature = "std")))]
use alloc::btree_map::BTreeMap; use alloc::collections::btree_map::BTreeMap;
#[cfg(all(feature = "alloc", not(feature = "std")))] #[cfg(all(feature = "alloc", not(feature = "std")))]
use alloc::btree_map::{Iter as BTreeIter, IterMut as BTreeIterMut, Range as BTreeRange}; use alloc::collections::btree_map::{Iter as BTreeIter, IterMut as BTreeIterMut,
Range as BTreeRange};
/// A managed map. /// A managed map.
/// ///