chore: clippy

This commit is contained in:
2025-05-10 16:34:41 +08:00
parent f86c088e97
commit fa3193ea50
7 changed files with 8 additions and 11 deletions

View File

@@ -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);
}