-//! FIXME: write short doc here
+//! Completes references after dot (fields and method calls).
use hir::{HasVisibility, Type};
+use rustc_hash::FxHashSet;
use crate::{
completion::{
},
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) {
//! 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;