Skip to content

Commit aeafe85

Browse files
committed
Update to track changes in liballoc.
1 parent fb0bc03 commit aeafe85

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/map.rs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,13 @@ use core::ops::{Bound, RangeBounds};
77
#[cfg(feature = "std")]
88
use std::collections::BTreeMap;
99
#[cfg(feature = "std")]
10-
use std::collections::btree_map::{Iter as BTreeIter, IterMut as BTreeIterMut, Range as BTreeRange};
10+
use std::collections::btree_map::{Iter as BTreeIter, IterMut as BTreeIterMut,
11+
Range as BTreeRange};
1112
#[cfg(all(feature = "alloc", not(feature = "std")))]
12-
use alloc::btree_map::BTreeMap;
13+
use alloc::collections::btree_map::BTreeMap;
1314
#[cfg(all(feature = "alloc", not(feature = "std")))]
14-
use alloc::btree_map::{Iter as BTreeIter, IterMut as BTreeIterMut, Range as BTreeRange};
15+
use alloc::collections::btree_map::{Iter as BTreeIter, IterMut as BTreeIterMut,
16+
Range as BTreeRange};
1517

1618
/// A managed map.
1719
///

0 commit comments

Comments
 (0)