We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 047bc47 commit bc2b70dCopy full SHA for bc2b70d
crates/ide-completion/src/item.rs
@@ -429,7 +429,9 @@ impl Builder {
429
if !self.doc_aliases.is_empty() {
430
let doc_aliases = self.doc_aliases.iter().join(", ");
431
label = SmolStr::from(format!("{label} (alias {doc_aliases})"));
432
- let lookup_doc_aliases = (self.doc_aliases.iter())
+ let lookup_doc_aliases = self
433
+ .doc_aliases
434
+ .iter()
435
// Don't include aliases in `lookup` that aren't valid identifiers as including
436
// them results in weird completion filtering behavior e.g. `Partial>` matching
437
// `PartialOrd` because it has an alias of ">".
0 commit comments