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. --- crates/hir_def/src/generics.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/hir_def/src/generics.rs') diff --git a/crates/hir_def/src/generics.rs b/crates/hir_def/src/generics.rs index 75eab791a..3ace3be1f 100644 --- a/crates/hir_def/src/generics.rs +++ b/crates/hir_def/src/generics.rs @@ -10,7 +10,7 @@ use hir_expand::{ name::{name, AsName, Name}, InFile, }; -use la_arena::{map::ArenaMap, Arena}; +use la_arena::{Arena, ArenaMap}; use syntax::ast::{self, GenericParamsOwner, NameOwner, TypeBoundsOwner}; use crate::{ -- cgit v1.2.3