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 9349769 commit 047bc47Copy full SHA for 047bc47
crates/ide-completion/src/item.rs
@@ -435,7 +435,7 @@ impl Builder {
435
// `PartialOrd` because it has an alias of ">".
436
.filter(|alias| {
437
let mut chars = alias.chars();
438
- chars.next().map(unicode_ident::is_xid_start).unwrap_or(false)
+ chars.next().is_some_and(unicode_ident::is_xid_start)
439
&& chars.all(unicode_ident::is_xid_continue)
440
})
441
.join(", ");
0 commit comments