aboutsummaryrefslogtreecommitdiff
path: root/crates/libanalysis
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2018-08-25 09:40:17 +0100
committerAleksey Kladov <[email protected]>2018-08-25 09:40:17 +0100
commit9fae494a8da347a32cdcd3dcd714ba00aaff9664 (patch)
tree9fe4fb51c374d036e22d5a60ce50b63dbe287142 /crates/libanalysis
parentf104458d45e30024f8a4a02c1ad4101ed74b08f9 (diff)
Move ParsedFile to top
Diffstat (limited to 'crates/libanalysis')
-rw-r--r--crates/libanalysis/src/lib.rs3
-rw-r--r--crates/libanalysis/src/module_map.rs3
2 files changed, 4 insertions, 2 deletions
diff --git a/crates/libanalysis/src/lib.rs b/crates/libanalysis/src/lib.rs
index fee0d10d6..a0f17a689 100644
--- a/crates/libanalysis/src/lib.rs
+++ b/crates/libanalysis/src/lib.rs
@@ -27,8 +27,9 @@ use std::{
27}; 27};
28 28
29use libsyntax2::{ 29use libsyntax2::{
30 ParsedFile,
30 TextUnit, TextRange, SmolStr, 31 TextUnit, TextRange, SmolStr,
31 ast::{self, AstNode, NameOwner, ParsedFile}, 32 ast::{self, AstNode, NameOwner},
32 SyntaxKind::*, 33 SyntaxKind::*,
33}; 34};
34use libeditor::{LineIndex, FileSymbol, find_node}; 35use libeditor::{LineIndex, FileSymbol, find_node};
diff --git a/crates/libanalysis/src/module_map.rs b/crates/libanalysis/src/module_map.rs
index 83e6e57f7..e8d32928a 100644
--- a/crates/libanalysis/src/module_map.rs
+++ b/crates/libanalysis/src/module_map.rs
@@ -4,7 +4,8 @@ use std::{
4 4
5use parking_lot::{RwLock, RwLockReadGuard, RwLockWriteGuard}; 5use parking_lot::{RwLock, RwLockReadGuard, RwLockWriteGuard};
6use libsyntax2::{ 6use libsyntax2::{
7 ast::{self, AstNode, NameOwner, ParsedFile}, 7 ParsedFile,
8 ast::{self, AstNode, NameOwner},
8 SyntaxNode, SmolStr, 9 SyntaxNode, SmolStr,
9}; 10};
10use {FileId, FileResolver}; 11use {FileId, FileResolver};