Skip to content

Commit 494cbd4

Browse files
committed
todo
1 parent 1df4dd3 commit 494cbd4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

crates/ide-completion/src/completions.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -599,6 +599,7 @@ impl Completions {
599599
/// fn with no param that returns itself
600600
/// fn with param that returns itself
601601
pub(crate) fn sort_new_first(&mut self) {
602+
// ToDo: Ensure these fn returns Self
602603
fn creates_self(item: &CompletionItem) -> Option<bool> {
603604
item.detail.as_ref().filter(|d| d.starts_with("fn() -> ")).map(|_| false)
604605
}

0 commit comments

Comments
 (0)