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 /crates/hir_def/src/trace.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 'crates/hir_def/src/trace.rs')
-rw-r--r-- | crates/hir_def/src/trace.rs | 2 |
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. |
12 | use la_arena::{map::ArenaMap, Arena, Idx, RawId}; | 12 | use la_arena::{Arena, ArenaMap, Idx, RawId}; |
13 | 13 | ||
14 | pub(crate) struct Trace<T, V> { | 14 | pub(crate) struct Trace<T, V> { |
15 | arena: Option<Arena<T>>, | 15 | arena: Option<Arena<T>>, |