chore: cargo clippy

This commit is contained in:
2025-05-28 22:47:35 +08:00
parent f3bf44ab97
commit c8276c1729
7 changed files with 13 additions and 14 deletions

View File

@@ -102,7 +102,7 @@ impl<'gc> Func<'gc> {
.select(formal)
.or_else(|| {
default
.map(|idx| Value::Thunk(Thunk::new(vm.get_thunk(idx), mc).into()))
.map(|idx| Value::Thunk(Thunk::new(vm.get_thunk(idx), mc)))
})
.unwrap();
new.insert(formal, arg);
@@ -110,7 +110,7 @@ impl<'gc> Func<'gc> {
if let Some(alias) = alias {
new.insert(alias, Value::AttrSet(arg));
}
env.enter_let(Gc::new(mc, new.into()), mc)
env.enter_let(Gc::new(mc, new), mc)
}
};