This commit is contained in:
Aleksey Kladov 2020-07-04 10:03:27 +02:00
parent 5c68dd6b59
commit caeddff543
2 changed files with 3 additions and 2 deletions

View File

@ -1,6 +1,7 @@
//! FIXME: write short doc here
//! Completes references after dot (fields and method calls).
use hir::{HasVisibility, Type};
use rustc_hash::FxHashSet;
use crate::{
completion::{
@ -9,7 +10,6 @@ use crate::{
},
CompletionItem,
};
use rustc_hash::FxHashSet;
/// Complete dot accesses, i.e. fields or methods (and .await syntax).
pub(super) fn complete_dot(acc: &mut Completions, ctx: &CompletionContext) {

View File

@ -1,4 +1,5 @@
//! This modules takes care of rendering various definitions as completion items.
//! It also handles scoring (sorting) completions.
use hir::{Docs, HasAttrs, HasSource, HirDisplay, ModPath, ScopeDef, StructKind, Type};
use ra_syntax::ast::NameOwner;