Skip to content

Commit 36128c1

Browse files
committed
Get rid of unused imports
1 parent 503f949 commit 36128c1

File tree

2 files changed

+3
-10
lines changed

2 files changed

+3
-10
lines changed

crates/ra_assists/src/handlers/change_visibility.rs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
11
use ra_syntax::{
22
ast::{self, NameOwner, VisibilityOwner},
33
AstNode,
4-
SyntaxKind::{
5-
ATTR, COMMENT, CONST_DEF, ENUM_DEF, FN_DEF, MODULE, STRUCT_DEF, TRAIT_DEF, VISIBILITY,
6-
WHITESPACE,
7-
},
8-
SyntaxNode, TextSize, T,
4+
SyntaxKind::{CONST_DEF, ENUM_DEF, FN_DEF, MODULE, STRUCT_DEF, TRAIT_DEF, VISIBILITY},
5+
T,
96
};
107
use test_utils::mark;
118

crates/ra_assists/src/handlers/fix_visibility.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
use hir::{db::HirDatabase, HasSource, HasVisibility, PathResolution};
22
use ra_db::FileId;
3-
use ra_syntax::{
4-
ast, AstNode,
5-
SyntaxKind::{ATTR, COMMENT, WHITESPACE},
6-
SyntaxNode, TextRange, TextSize,
7-
};
3+
use ra_syntax::{ast, AstNode, TextRange, TextSize};
84

95
use crate::{utils::vis_offset, AssistContext, AssistId, Assists};
106

0 commit comments

Comments
 (0)