mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 21:39:07 +00:00
clippy ;(
This commit is contained in:
parent
efe91da38c
commit
343a548458
1 changed files with 1 additions and 1 deletions
|
@ -1156,7 +1156,7 @@ impl<'a> ReuseEnvironment<'a> {
|
|||
self.reuse_tokens
|
||||
.entry(token_layout)
|
||||
.and_modify(|reuse_tokens| reuse_tokens.push(with_info))
|
||||
.or_insert(Vec::from_iter_in([with_info], arena));
|
||||
.or_insert_with(|| Vec::from_iter_in([with_info], arena));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue