mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-21 01:24:13 +00:00
Cleanup
Co-authored-by: LowR <low.ryoshida@gmail.com>
This commit is contained in:
parent
9349769363
commit
047bc47ecd
1 changed files with 1 additions and 1 deletions
|
@ -435,7 +435,7 @@ impl Builder {
|
||||||
// `PartialOrd` because it has an alias of ">".
|
// `PartialOrd` because it has an alias of ">".
|
||||||
.filter(|alias| {
|
.filter(|alias| {
|
||||||
let mut chars = alias.chars();
|
let mut chars = alias.chars();
|
||||||
chars.next().map(unicode_ident::is_xid_start).unwrap_or(false)
|
chars.next().is_some_and(unicode_ident::is_xid_start)
|
||||||
&& chars.all(unicode_ident::is_xid_continue)
|
&& chars.all(unicode_ident::is_xid_continue)
|
||||||
})
|
})
|
||||||
.join(", ");
|
.join(", ");
|
||||||
|
|
Loading…
Reference in a new issue