mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-05 09:23:31 +00:00
@@ -435,7 +435,7 @@ impl Builder {
|
||||
// `PartialOrd` because it has an alias of ">".
|
||||
.filter(|alias| {
|
||||
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)
|
||||
})
|
||||
.join(", ");
|
||||
|
||||
Reference in New Issue
Block a user