From 6be50f7d5de3737464853a589673375fc0cafa97 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Wed, 31 Oct 2018 23:41:43 +0300 Subject: Reformat all --- crates/ra_analysis/src/descriptors/module/scope.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'crates/ra_analysis/src/descriptors/module/scope.rs') diff --git a/crates/ra_analysis/src/descriptors/module/scope.rs b/crates/ra_analysis/src/descriptors/module/scope.rs index 846b8b44f..681e272c2 100644 --- a/crates/ra_analysis/src/descriptors/module/scope.rs +++ b/crates/ra_analysis/src/descriptors/module/scope.rs @@ -1,9 +1,8 @@ //! Backend for module-level scope resolution & completion - use ra_syntax::{ ast::{self, ModuleItemOwner}, - File, AstNode, SmolStr, + AstNode, File, SmolStr, }; use crate::syntax_ptr::LocalSyntaxPtr; @@ -103,7 +102,7 @@ fn collect_imports(tree: ast::UseTree, acc: &mut Vec) { #[cfg(test)] mod tests { use super::*; - use ra_syntax::{File}; + use ra_syntax::File; fn do_check(code: &str, expected: &[&str]) { let file = File::parse(&code); -- cgit v1.2.3