From 17b35a7f7dc5054f8d632cd4d3fc2fcb26879819 Mon Sep 17 00:00:00 2001 From: gfreezy Date: Mon, 24 Dec 2018 00:40:36 +0800 Subject: remove unnecessary braces in use statments --- crates/ra_analysis/src/lib.rs | 4 +--- crates/ra_analysis/src/mock_analysis.rs | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'crates/ra_analysis/src') diff --git a/crates/ra_analysis/src/lib.rs b/crates/ra_analysis/src/lib.rs index 8ab6334a7..a213fd60f 100644 --- a/crates/ra_analysis/src/lib.rs +++ b/crates/ra_analysis/src/lib.rs @@ -29,9 +29,7 @@ use crate::{ symbol_index::SymbolIndex, }; -pub use crate::{ - completion::{CompletionItem, CompletionItemKind, InsertText}, -}; +pub use crate::completion::{CompletionItem, CompletionItemKind, InsertText}; pub use ra_editor::{ FileSymbol, Fold, FoldKind, HighlightedRange, LineIndex, Runnable, RunnableKind, StructureNode, Severity diff --git a/crates/ra_analysis/src/mock_analysis.rs b/crates/ra_analysis/src/mock_analysis.rs index 7cbdfb953..5ce2aa2b4 100644 --- a/crates/ra_analysis/src/mock_analysis.rs +++ b/crates/ra_analysis/src/mock_analysis.rs @@ -1,6 +1,6 @@ use std::sync::Arc; -use relative_path::{RelativePathBuf}; +use relative_path::RelativePathBuf; use test_utils::{extract_offset, parse_fixture, CURSOR_MARKER}; use ra_db::mock::FileMap; -- cgit v1.2.3