mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 22:34:45 +00:00
Comply with clippy
This commit is contained in:
parent
08dba946e6
commit
6b351d0375
1 changed files with 1 additions and 1 deletions
|
@ -311,7 +311,7 @@ fn layout_from_flat_type<'a>(
|
|||
// Num.Num should only ever have 1 argument, e.g. Num.Num Int.Integer
|
||||
debug_assert_eq!(args.len(), 1);
|
||||
|
||||
let var = args.iter().next().unwrap();
|
||||
let var = args.get(0).unwrap();
|
||||
let content = subs.get_without_compacting(*var).content;
|
||||
|
||||
layout_from_num_content(content)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue