aboutsummaryrefslogtreecommitdiff
path: root/crates/libanalysis
diff options
context:
space:
mode:
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};