aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src/ids.rs
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2019-07-04 21:05:17 +0100
committerAleksey Kladov <[email protected]>2019-07-04 21:09:09 +0100
commit1834bae5b86c54ed9dece26e82436919d59e6cb7 (patch)
tree92c8b984e874b67fa1831613464bbe356c1af3dd /crates/ra_hir/src/ids.rs
parent2b2cd829b0f95aef338227deb05ec7503dae9b6c (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_hir/src/ids.rs')
-rw-r--r--crates/ra_hir/src/ids.rs10
1 files changed, 4 insertions, 6 deletions
diff --git a/crates/ra_hir/src/ids.rs b/crates/ra_hir/src/ids.rs
index b7215ac03..bd1e2f2e6 100644
--- a/crates/ra_hir/src/ids.rs
+++ b/crates/ra_hir/src/ids.rs
@@ -3,14 +3,12 @@ use std::{
3 sync::Arc, 3 sync::Arc,
4}; 4};
5 5
6use ra_db::{FileId, salsa};
7use ra_syntax::{TreeArc, AstNode, ast, SyntaxNode};
8use ra_prof::profile;
9use mbe::MacroRules; 6use mbe::MacroRules;
7use ra_db::{salsa, FileId};
8use ra_prof::profile;
9use ra_syntax::{ast, AstNode, SyntaxNode, TreeArc};
10 10
11use crate::{ 11use crate::{AstDatabase, AstId, DefDatabase, FileAstId, InternDatabase, Module, Source};
12 Module, DefDatabase, AstId, FileAstId, AstDatabase, Source, InternDatabase,
13};
14 12
15/// hir makes heavy use of ids: integer (u32) handlers to various things. You 13/// hir makes heavy use of ids: integer (u32) handlers to various things. You
16/// can think of id as a pointer (but without a lifetime) or a file descriptor 14/// can think of id as a pointer (but without a lifetime) or a file descriptor