aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax
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/ra_syntax
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/ra_syntax')
-rw-r--r--crates/ra_syntax/src/reparsing.rs2
1 files changed, 1 insertions, 1 deletions
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