aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_analysis
diff options
context:
space:
mode:
authorgfreezy <[email protected]>2018-12-23 16:40:36 +0000
committergfreezy <[email protected]>2018-12-23 16:40:36 +0000
commit17b35a7f7dc5054f8d632cd4d3fc2fcb26879819 (patch)
tree24eff3dbc1189749d7b4cd909e53e6fecf675a41 /crates/ra_analysis
parent346638c8098fefd0b6fa3cf81fbdf22ebfaab9be (diff)
remove unnecessary braces in use statments
Diffstat (limited to 'crates/ra_analysis')
-rw-r--r--crates/ra_analysis/src/lib.rs4
-rw-r--r--crates/ra_analysis/src/mock_analysis.rs2
2 files changed, 2 insertions, 4 deletions
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::{
29 symbol_index::SymbolIndex, 29 symbol_index::SymbolIndex,
30}; 30};
31 31
32pub use crate::{ 32pub use crate::completion::{CompletionItem, CompletionItemKind, InsertText};
33 completion::{CompletionItem, CompletionItemKind, InsertText},
34};
35pub use ra_editor::{ 33pub use ra_editor::{
36 FileSymbol, Fold, FoldKind, HighlightedRange, LineIndex, Runnable, RunnableKind, StructureNode, 34 FileSymbol, Fold, FoldKind, HighlightedRange, LineIndex, Runnable, RunnableKind, StructureNode,
37 Severity 35 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 @@
1use std::sync::Arc; 1use std::sync::Arc;
2 2
3use relative_path::{RelativePathBuf}; 3use relative_path::RelativePathBuf;
4use test_utils::{extract_offset, parse_fixture, CURSOR_MARKER}; 4use test_utils::{extract_offset, parse_fixture, CURSOR_MARKER};
5use ra_db::mock::FileMap; 5use ra_db::mock::FileMap;
6 6