chore: clippy
This commit is contained in:
@@ -60,7 +60,7 @@ impl Func {
|
||||
for (formal, default) in formals {
|
||||
let arg = arg
|
||||
.select(formal.clone().into())
|
||||
.or_else(|| default.map(|thunk| Value::Thunk(thunk)))
|
||||
.or_else(|| default.map(Value::Thunk))
|
||||
.unwrap();
|
||||
new.insert_mut(formal.into(), arg);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user