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

@@ -199,7 +199,7 @@ impl<'gc> JITContext<'gc> {
pub fn compile_seq(
&self,
opcodes: impl Iterator<Item = OpCode> + ExactSizeIterator + DoubleEndedIterator,
opcodes: impl ExactSizeIterator<Item = OpCode> + DoubleEndedIterator,
vm: &'gc VM<'gc>,
) -> Result<JITFunc<'gc>> {
let mut stack = Stack::<_, STACK_SIZE>::new();
@@ -330,8 +330,7 @@ impl<'gc> JITContext<'gc> {
"call_capture_env",
)?
.try_as_basic_value()
.unwrap_left()
.into(),
.unwrap_left(),
)?,
OpCode::ForceValue => {
let thunk = stack.pop();