diff options
Diffstat (limited to 'lib/arena')
-rw-r--r-- | lib/arena/src/lib.rs | 3 | ||||
-rw-r--r-- | lib/arena/src/map.rs | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/lib/arena/src/lib.rs b/lib/arena/src/lib.rs index 78a147c7d..1de3a1d2f 100644 --- a/lib/arena/src/lib.rs +++ b/lib/arena/src/lib.rs | |||
@@ -10,7 +10,8 @@ use std::{ | |||
10 | ops::{Index, IndexMut}, | 10 | ops::{Index, IndexMut}, |
11 | }; | 11 | }; |
12 | 12 | ||
13 | pub mod map; | 13 | mod map; |
14 | pub use map::ArenaMap; | ||
14 | 15 | ||
15 | /// The raw ID of a value in an arena. | 16 | /// The raw ID of a value in an arena. |
16 | #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] | 17 | #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] |
diff --git a/lib/arena/src/map.rs b/lib/arena/src/map.rs index 980198247..5ebaa9b82 100644 --- a/lib/arena/src/map.rs +++ b/lib/arena/src/map.rs | |||
@@ -1,5 +1,3 @@ | |||
1 | //! A map from arena IDs to some other type. Space requirement is O(highest ID). | ||
2 | |||
3 | use std::marker::PhantomData; | 1 | use std::marker::PhantomData; |
4 | 2 | ||
5 | use crate::Idx; | 3 | use crate::Idx; |