diff options
-rw-r--r-- | crates/ra_analysis/src/lib.rs | 8 | ||||
-rw-r--r-- | crates/ra_syntax/src/reparsing.rs | 2 | ||||
-rw-r--r-- | rustfmt.toml | 2 |
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; | |||
9 | extern crate rustc_hash; | 9 | extern crate rustc_hash; |
10 | extern crate salsa; | 10 | extern crate salsa; |
11 | 11 | ||
12 | mod completion; | ||
13 | mod db; | 12 | mod db; |
14 | mod descriptors; | ||
15 | mod imp; | ||
16 | mod input; | 13 | mod input; |
17 | pub mod mock_analysis; | 14 | mod imp; |
15 | mod completion; | ||
16 | mod descriptors; | ||
18 | mod symbol_index; | 17 | mod symbol_index; |
19 | mod syntax_ptr; | 18 | mod syntax_ptr; |
19 | pub mod mock_analysis; | ||
20 | 20 | ||
21 | use std::{fmt, sync::Arc}; | 21 | use 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 @@ | |||
1 | reorder_imports = false | ||
2 | reorder_modules = false \ No newline at end of file | ||