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