Skip to content

Commit caeddff

Browse files
committed
Comments
1 parent 5c68dd6 commit caeddff

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

crates/ra_ide/src/completion/complete_dot.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
//! FIXME: write short doc here
1+
//! Completes references after dot (fields and method calls).
22
33
use hir::{HasVisibility, Type};
4+
use rustc_hash::FxHashSet;
45

56
use crate::{
67
completion::{
@@ -9,7 +10,6 @@ use crate::{
910
},
1011
CompletionItem,
1112
};
12-
use rustc_hash::FxHashSet;
1313

1414
/// Complete dot accesses, i.e. fields or methods (and .await syntax).
1515
pub(super) fn complete_dot(acc: &mut Completions, ctx: &CompletionContext) {

crates/ra_ide/src/completion/presentation.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
//! This modules takes care of rendering various definitions as completion items.
2+
//! It also handles scoring (sorting) completions.
23
34
use hir::{Docs, HasAttrs, HasSource, HirDisplay, ModPath, ScopeDef, StructKind, Type};
45
use ra_syntax::ast::NameOwner;

0 commit comments

Comments
 (0)