aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--crates/ra_analysis/src/lib.rs8
-rw-r--r--crates/ra_syntax/src/reparsing.rs2
-rw-r--r--rustfmt.toml2
3 files changed, 7 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
diff --git a/rustfmt.toml b/rustfmt.toml
index e69de29bb..9a271df7b 100644
--- a/rustfmt.toml
+++ b/rustfmt.toml
@@ -0,0 +1,2 @@
1reorder_imports = false
2reorder_modules = false \ No newline at end of file