From 9b5ba090db2c1f913d3f127573ac60c5eb2601bb Mon Sep 17 00:00:00 2001 From: Aramis Razzaghipour Date: Fri, 15 Jan 2021 11:11:07 +1100 Subject: Remove map module from la-arena public API MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- lib/arena/src/lib.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/arena/src/lib.rs') 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::{ ops::{Index, IndexMut}, }; -pub mod map; +mod map; +pub use map::ArenaMap; #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] pub struct RawId(u32); -- cgit v1.2.3