aboutsummaryrefslogtreecommitdiff
path: root/crates/hir_def/src/trace.rs
diff options
context:
space:
mode:
authorAramis Razzaghipour <[email protected]>2021-01-15 00:11:07 +0000
committerAramis Razzaghipour <[email protected]>2021-01-15 00:14:04 +0000
commit9b5ba090db2c1f913d3f127573ac60c5eb2601bb (patch)
tree400f99b812f2133e2a345f23555a98754827b661 /crates/hir_def/src/trace.rs
parentf88f3d688507508ae9528101e13e1c62902467a3 (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 'crates/hir_def/src/trace.rs')
-rw-r--r--crates/hir_def/src/trace.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/hir_def/src/trace.rs b/crates/hir_def/src/trace.rs
index 0a9beae8e..18d16986b 100644
--- a/crates/hir_def/src/trace.rs
+++ b/crates/hir_def/src/trace.rs
@@ -9,7 +9,7 @@
9//! absolute offsets. The `Trace` structure (inspired, at least in name, by 9//! absolute offsets. The `Trace` structure (inspired, at least in name, by
10//! Kotlin's `BindingTrace`) allows use the same code to compute both 10//! Kotlin's `BindingTrace`) allows use the same code to compute both
11//! projections. 11//! projections.
12use la_arena::{map::ArenaMap, Arena, Idx, RawId}; 12use la_arena::{Arena, ArenaMap, Idx, RawId};
13 13
14pub(crate) struct Trace<T, V> { 14pub(crate) struct Trace<T, V> {
15 arena: Option<Arena<T>>, 15 arena: Option<Arena<T>>,