From 93d9e8a06f94bb74a7cde6fb5e21addcd16518cb Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Mon, 4 Nov 2019 23:37:35 +0300 Subject: Reduce visibility --- crates/ra_hir_def/src/nameres.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crates') diff --git a/crates/ra_hir_def/src/nameres.rs b/crates/ra_hir_def/src/nameres.rs index 55a747ee2..e1959cdb9 100644 --- a/crates/ra_hir_def/src/nameres.rs +++ b/crates/ra_hir_def/src/nameres.rs @@ -196,7 +196,7 @@ pub struct Resolution { } impl Resolution { - pub(crate) fn from_macro(macro_: MacroDefId) -> Self { + fn from_macro(macro_: MacroDefId) -> Self { Resolution { def: PerNs::macros(macro_), import: None } } } @@ -460,7 +460,7 @@ impl CrateDefMap { from_crate_root.or(from_extern_prelude) } - pub(crate) fn resolve_name_in_module( + fn resolve_name_in_module( &self, db: &impl DefDatabase2, module: CrateModuleId, -- cgit v1.2.3