mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 13:25:09 +00:00
minor: follow code style
This commit is contained in:
parent
6aeaceaf45
commit
d4e381f7b2
1 changed files with 2 additions and 2 deletions
|
@ -3,7 +3,7 @@
|
|||
use hir::{AsAssocItem, HasSource, HirDisplay};
|
||||
use ide_db::SymbolKind;
|
||||
use itertools::Itertools;
|
||||
use syntax::ast::Fn;
|
||||
use syntax::ast;
|
||||
|
||||
use crate::{
|
||||
item::{CompletionItem, CompletionItemKind, CompletionKind, CompletionRelevance, ImportEdit},
|
||||
|
@ -40,7 +40,7 @@ struct FunctionRender<'a> {
|
|||
name: String,
|
||||
receiver: Option<hir::Name>,
|
||||
func: hir::Function,
|
||||
ast_node: Fn,
|
||||
ast_node: ast::Fn,
|
||||
is_method: bool,
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue