Skip to content

Commit d4e381f

Browse files
committed
minor: follow code style
1 parent 6aeacea commit d4e381f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/ide_completion/src/render/function.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
use hir::{AsAssocItem, HasSource, HirDisplay};
44
use ide_db::SymbolKind;
55
use itertools::Itertools;
6-
use syntax::ast::Fn;
6+
use syntax::ast;
77

88
use crate::{
99
item::{CompletionItem, CompletionItemKind, CompletionKind, CompletionRelevance, ImportEdit},
@@ -40,7 +40,7 @@ struct FunctionRender<'a> {
4040
name: String,
4141
receiver: Option<hir::Name>,
4242
func: hir::Function,
43-
ast_node: Fn,
43+
ast_node: ast::Fn,
4444
is_method: bool,
4545
}
4646

0 commit comments

Comments
 (0)