diff options
author | Aleksey Kladov <[email protected]> | 2018-10-20 20:38:47 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-10-20 20:38:52 +0100 |
commit | 6e88aaef5d49c8ec7b6ffe6b41457c3a028b4eb0 (patch) | |
tree | 6ae9f95315451a9e722dcffa0c1e1283d276d312 /crates/ra_analysis/src/symbol_index.rs | |
parent | 8eea10e3ab25111375a95990b93d1170d5fe8a9f (diff) |
use pythonic import order
use std
// blank line
use extern crates
// blank line
use crate::{}
Diffstat (limited to 'crates/ra_analysis/src/symbol_index.rs')
-rw-r--r-- | crates/ra_analysis/src/symbol_index.rs | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/crates/ra_analysis/src/symbol_index.rs b/crates/ra_analysis/src/symbol_index.rs index 19f9ea47d..a0f3c0437 100644 --- a/crates/ra_analysis/src/symbol_index.rs +++ b/crates/ra_analysis/src/symbol_index.rs | |||
@@ -1,4 +1,8 @@ | |||
1 | use crate::{FileId, Query}; | 1 | use std::{ |
2 | hash::{Hash, Hasher}, | ||
3 | sync::Arc, | ||
4 | }; | ||
5 | |||
2 | use fst::{self, Streamer}; | 6 | use fst::{self, Streamer}; |
3 | use ra_editor::{file_symbols, FileSymbol}; | 7 | use ra_editor::{file_symbols, FileSymbol}; |
4 | use ra_syntax::{ | 8 | use ra_syntax::{ |
@@ -7,10 +11,7 @@ use ra_syntax::{ | |||
7 | }; | 11 | }; |
8 | use rayon::prelude::*; | 12 | use rayon::prelude::*; |
9 | 13 | ||
10 | use std::{ | 14 | use crate::{FileId, Query}; |
11 | hash::{Hash, Hasher}, | ||
12 | sync::Arc, | ||
13 | }; | ||
14 | 15 | ||
15 | #[derive(Debug)] | 16 | #[derive(Debug)] |
16 | pub(crate) struct SymbolIndex { | 17 | pub(crate) struct SymbolIndex { |