diff options
author | Aleksey Kladov <[email protected]> | 2019-07-04 21:05:17 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-07-04 21:09:09 +0100 |
commit | 1834bae5b86c54ed9dece26e82436919d59e6cb7 (patch) | |
tree | 92c8b984e874b67fa1831613464bbe356c1af3dd /crates/ra_syntax/src/parsing.rs | |
parent | 2b2cd829b0f95aef338227deb05ec7503dae9b6c (diff) |
allow rustfmt to reorder imports
This wasn't a right decision in the first place, the feature flag was
broken in the last rustfmt release, and syntax highlighting of imports
is more important anyway
Diffstat (limited to 'crates/ra_syntax/src/parsing.rs')
-rw-r--r-- | crates/ra_syntax/src/parsing.rs | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/crates/ra_syntax/src/parsing.rs b/crates/ra_syntax/src/parsing.rs index 4c1fa6c4f..0387f0378 100644 --- a/crates/ra_syntax/src/parsing.rs +++ b/crates/ra_syntax/src/parsing.rs | |||
@@ -6,12 +6,9 @@ mod text_token_source; | |||
6 | mod text_tree_sink; | 6 | mod text_tree_sink; |
7 | mod reparsing; | 7 | mod reparsing; |
8 | 8 | ||
9 | use crate::{ | 9 | use crate::{syntax_node::GreenNode, SyntaxError}; |
10 | SyntaxError, | ||
11 | syntax_node::GreenNode, | ||
12 | }; | ||
13 | 10 | ||
14 | pub use self::lexer::{tokenize, classify_literal, Token}; | 11 | pub use self::lexer::{classify_literal, tokenize, Token}; |
15 | 12 | ||
16 | pub(crate) use self::reparsing::incremental_reparse; | 13 | pub(crate) use self::reparsing::incremental_reparse; |
17 | 14 | ||