diff options
author | Aramis Razzaghipour <[email protected]> | 2021-01-15 00:11:07 +0000 |
---|---|---|
committer | Aramis Razzaghipour <[email protected]> | 2021-01-15 00:14:04 +0000 |
commit | 9b5ba090db2c1f913d3f127573ac60c5eb2601bb (patch) | |
tree | 400f99b812f2133e2a345f23555a98754827b661 /lib/arena/src/lib.rs | |
parent | f88f3d688507508ae9528101e13e1c62902467a3 (diff) |
Remove map module from la-arena public API
It’s unlikely that more items will be added to the module,
so it’s simpler for users if `ArenaMap` is re-exported
and the module made private.
Diffstat (limited to 'lib/arena/src/lib.rs')
-rw-r--r-- | lib/arena/src/lib.rs | 3 |
1 files changed, 2 insertions, 1 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); |