chore: cargo fmt

This commit is contained in:
2025-05-28 21:59:45 +08:00
parent 99dce2e778
commit f3bf44ab97
3 changed files with 48 additions and 20 deletions

View File

@@ -427,7 +427,7 @@ impl<'gc> Value<'gc> {
(Value::String(a), Value::String(b)) => {
let mut a = a.clone();
a.make_mut(mc).push_str(b.as_str())
},
}
(_, Value::Catchable(_)) => *self = other,
(Value::Catchable(_), _) => (),
_ => todo!(),
@@ -608,7 +608,7 @@ impl<'gc> Thunk<'gc> {
let _Thunk::Code(opcodes, env) =
std::mem::replace(&mut *self.thunk.borrow_mut(mc), _Thunk::Suspended)
else {
return Err(Error::EvalError("infinite recursion occured".into()))
return Err(Error::EvalError("infinite recursion occured".into()));
};
Ok((opcodes, env.unwrap()))
}