mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 23:04:49 +00:00
Apply review suggestions
This commit is contained in:
parent
d165052e64
commit
fe99d20be5
3 changed files with 8 additions and 14 deletions
|
@ -112,12 +112,7 @@ impl<'a> Env<'a> {
|
|||
let exposed_values = exposed_ids
|
||||
.idents()
|
||||
.filter(|(_, ident)| {
|
||||
ident
|
||||
.as_ref()
|
||||
.chars()
|
||||
.next()
|
||||
.filter(|c| c.is_lowercase())
|
||||
.is_some()
|
||||
ident.as_ref().starts_with(|c: char| c.is_lowercase())
|
||||
})
|
||||
.map(|(_, ident)| Lowercase::from(ident.as_ref()))
|
||||
.collect();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue