chore: cargo clippy
This commit is contained in:
@@ -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)
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user