mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 21:35:20 +00:00
rustfmt
This commit is contained in:
parent
c417b98f02
commit
30bc3b93be
3 changed files with 28 additions and 19 deletions
|
@ -1,14 +1,14 @@
|
|||
use hir::{AdtDef, Ty, TypeCtor};
|
||||
|
||||
use crate::{completion::{
|
||||
completion_context::CompletionContext,
|
||||
completion_item::Completions,
|
||||
}, CompletionItem};
|
||||
use crate::completion::completion_item::{Builder, CompletionKind};
|
||||
use crate::{
|
||||
completion::{completion_context::CompletionContext, completion_item::Completions},
|
||||
CompletionItem,
|
||||
};
|
||||
use ra_syntax::ast::AstNode;
|
||||
use ra_syntax::TextRange;
|
||||
use ra_text_edit::TextEditBuilder;
|
||||
use rustc_hash::FxHashSet;
|
||||
use crate::completion::completion_item::{Builder, CompletionKind};
|
||||
use ra_syntax::TextRange;
|
||||
|
||||
/// Applies postfix edition but with CompletionKind::Reference
|
||||
fn postfix_reference(ctx: &CompletionContext, label: &str, detail: &str, snippet: &str) -> Builder {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue