From 93fae0826194b1590013c9bb0d977e60bd135918 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Tue, 27 Nov 2018 23:35:53 +0300 Subject: make module module private --- crates/ra_analysis/src/completion/mod.rs | 6 +++--- crates/ra_analysis/src/completion/reference_completion.rs | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'crates/ra_analysis/src/completion') diff --git a/crates/ra_analysis/src/completion/mod.rs b/crates/ra_analysis/src/completion/mod.rs index 1eb804c85..08fb149af 100644 --- a/crates/ra_analysis/src/completion/mod.rs +++ b/crates/ra_analysis/src/completion/mod.rs @@ -11,9 +11,9 @@ use rustc_hash::{FxHashMap}; use crate::{ db::{self, SyntaxDatabase}, - hir::{ - module::{ModuleDescriptor} - }, + hir:: + ModuleDescriptor + , Cancelable, FilePosition }; diff --git a/crates/ra_analysis/src/completion/reference_completion.rs b/crates/ra_analysis/src/completion/reference_completion.rs index ac6ef1d4a..1bf210685 100644 --- a/crates/ra_analysis/src/completion/reference_completion.rs +++ b/crates/ra_analysis/src/completion/reference_completion.rs @@ -11,7 +11,7 @@ use crate::{ db::RootDatabase, completion::CompletionItem, hir::{ - module::{ModuleDescriptor}, + ModuleDescriptor, function::FnScopes, Def, Path, -- cgit v1.2.3