diff options
Diffstat (limited to 'lib/arena/src')
-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 3169aa5b8..b15fe941d 100644 --- a/lib/arena/src/lib.rs +++ b/lib/arena/src/lib.rs | |||
@@ -8,7 +8,8 @@ use std::{ | |||
8 | ops::{Index, IndexMut}, | 8 | ops::{Index, IndexMut}, |
9 | }; | 9 | }; |
10 | 10 | ||
11 | pub mod map; | 11 | mod map; |
12 | pub use map::ArenaMap; | ||
12 | 13 | ||
13 | #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] | 14 | #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] |
14 | pub struct RawId(u32); | 15 | pub struct RawId(u32); |
diff --git a/lib/arena/src/map.rs b/lib/arena/src/map.rs index 0f33907c0..8a8063b7e 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; |