Get rid of unused imports

This commit is contained in:
Veetaha 2020-06-29 01:23:39 +03:00
parent 503f9498cd
commit 36128c170d
2 changed files with 3 additions and 10 deletions

View file

@ -1,11 +1,8 @@
use ra_syntax::{ use ra_syntax::{
ast::{self, NameOwner, VisibilityOwner}, ast::{self, NameOwner, VisibilityOwner},
AstNode, AstNode,
SyntaxKind::{ SyntaxKind::{CONST_DEF, ENUM_DEF, FN_DEF, MODULE, STRUCT_DEF, TRAIT_DEF, VISIBILITY},
ATTR, COMMENT, CONST_DEF, ENUM_DEF, FN_DEF, MODULE, STRUCT_DEF, TRAIT_DEF, VISIBILITY, T,
WHITESPACE,
},
SyntaxNode, TextSize, T,
}; };
use test_utils::mark; use test_utils::mark;

View file

@ -1,10 +1,6 @@
use hir::{db::HirDatabase, HasSource, HasVisibility, PathResolution}; use hir::{db::HirDatabase, HasSource, HasVisibility, PathResolution};
use ra_db::FileId; use ra_db::FileId;
use ra_syntax::{ use ra_syntax::{ast, AstNode, TextRange, TextSize};
ast, AstNode,
SyntaxKind::{ATTR, COMMENT, WHITESPACE},
SyntaxNode, TextRange, TextSize,
};
use crate::{utils::vis_offset, AssistContext, AssistId, Assists}; use crate::{utils::vis_offset, AssistContext, AssistId, Assists};