Skip to content

Commit bc2b70d

Browse files
committed
formatting
1 parent 047bc47 commit bc2b70d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

crates/ide-completion/src/item.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,9 @@ impl Builder {
429429
if !self.doc_aliases.is_empty() {
430430
let doc_aliases = self.doc_aliases.iter().join(", ");
431431
label = SmolStr::from(format!("{label} (alias {doc_aliases})"));
432-
let lookup_doc_aliases = (self.doc_aliases.iter())
432+
let lookup_doc_aliases = self
433+
.doc_aliases
434+
.iter()
433435
// Don't include aliases in `lookup` that aren't valid identifiers as including
434436
// them results in weird completion filtering behavior e.g. `Partial>` matching
435437
// `PartialOrd` because it has an alias of ">".

0 commit comments

Comments
 (0)