mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 23:04:49 +00:00
clippy
This commit is contained in:
parent
b97c2d5d84
commit
12bc34f451
1 changed files with 1 additions and 1 deletions
|
@ -152,7 +152,7 @@ where
|
|||
match expr {
|
||||
Expr::Literal(lit) => {
|
||||
if self.env().lazy_literals {
|
||||
self.literal_map().insert(*sym, lit.clone());
|
||||
self.literal_map().insert(*sym, *lit);
|
||||
} else {
|
||||
self.load_literal(sym, lit)?;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue