mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 22:09:09 +00:00
clippy
This commit is contained in:
parent
69c224843e
commit
e0039b94c9
7 changed files with 28 additions and 30 deletions
|
@ -1210,7 +1210,7 @@ fn layout_from_flat_type<'a>(
|
|||
Record(fields, ext_var) => {
|
||||
// extract any values from the ext_var
|
||||
// TODO short-circuit the sorting here
|
||||
let mut fields_map: MutMap<_, _> = fields.sorted_iterator(subs, ext_var).collect();
|
||||
let fields_map: MutMap<_, _> = fields.sorted_iterator(subs, ext_var).collect();
|
||||
|
||||
// discard optional fields
|
||||
let mut layouts = sort_stored_record_fields(env, fields_map);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue