aboutsummaryrefslogtreecommitdiff
path: root/lib/arena/src
diff options
context:
space:
mode:
Diffstat (limited to 'lib/arena/src')
-rw-r--r--lib/arena/src/lib.rs3
-rw-r--r--lib/arena/src/map.rs2
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
11pub mod map; 11mod map;
12pub use map::ArenaMap;
12 13
13#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] 14#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
14pub struct RawId(u32); 15pub 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
3use std::marker::PhantomData; 1use std::marker::PhantomData;
4 2
5use crate::Idx; 3use crate::Idx;