From 7d917b271cd2f1baef16783dd677f059e512a46c Mon Sep 17 00:00:00 2001 From: whitequark Date: Wed, 11 Jul 2018 01:00:22 +0000 Subject: [PATCH] Update to track changes in liballoc. --- src/map.rs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/map.rs b/src/map.rs index 47b833d..4071230 100644 --- a/src/map.rs +++ b/src/map.rs @@ -7,11 +7,13 @@ use core::ops::{Bound, RangeBounds}; #[cfg(feature = "std")] use std::collections::BTreeMap; #[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")))] -use alloc::btree_map::BTreeMap; +use alloc::collections::btree_map::BTreeMap; #[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. ///