aboutsummaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2018-11-01 13:18:53 +0000
committerAleksey Kladov <[email protected]>2018-11-01 13:18:53 +0000
commitcca5f862de8a4eb4a8990fdca95a4a7686937789 (patch)
tree3f3e70d0be8f36a8751f2d75b84581265fc43823 /crates
parentc74e86536e569486008b39f319ba70dbb7641d2b (diff)
Don't order import alphabetical
alphabetical ordering is no more consistent, and much less useful then the ordering which arises naturally when you add import.
Diffstat (limited to 'crates')
-rw-r--r--crates/ra_analysis/src/lib.rs8
-rw-r--r--crates/ra_syntax/src/reparsing.rs2
2 files changed, 5 insertions, 5 deletions
diff --git a/crates/ra_analysis/src/lib.rs b/crates/ra_analysis/src/lib.rs
index d21be3a88..6565f69fb 100644
--- a/crates/ra_analysis/src/lib.rs
+++ b/crates/ra_analysis/src/lib.rs
@@ -9,14 +9,14 @@ extern crate relative_path;
9extern crate rustc_hash; 9extern crate rustc_hash;
10extern crate salsa; 10extern crate salsa;
11 11
12mod completion;
13mod db; 12mod db;
14mod descriptors;
15mod imp;
16mod input; 13mod input;
17pub mod mock_analysis; 14mod imp;
15mod completion;
16mod descriptors;
18mod symbol_index; 17mod symbol_index;
19mod syntax_ptr; 18mod syntax_ptr;
19pub mod mock_analysis;
20 20
21use std::{fmt, sync::Arc}; 21use std::{fmt, sync::Arc};
22 22
diff --git a/crates/ra_syntax/src/reparsing.rs b/crates/ra_syntax/src/reparsing.rs
index d3b9a30d6..b3b51b3e4 100644
--- a/crates/ra_syntax/src/reparsing.rs
+++ b/crates/ra_syntax/src/reparsing.rs
@@ -188,7 +188,7 @@ mod tests {
188 use super::{ 188 use super::{
189 super::{test_utils::extract_range, text_utils::replace_range, utils::dump_tree, File}, 189 super::{test_utils::extract_range, text_utils::replace_range, utils::dump_tree, File},
190 reparse_block, reparse_leaf, AtomEdit, GreenNode, SyntaxError, SyntaxNodeRef, 190 reparse_block, reparse_leaf, AtomEdit, GreenNode, SyntaxError, SyntaxNodeRef,
191 }; 191};
192 192
193 fn do_check<F>(before: &str, replace_with: &str, reparser: F) 193 fn do_check<F>(before: &str, replace_with: &str, reparser: F)
194 where 194 where