ForceMode

This commit is contained in:
2026-04-26 14:51:34 +08:00
parent ac76d4a9e4
commit bc16596dd3
5 changed files with 175 additions and 35 deletions
+6 -3
View File
@@ -506,9 +506,12 @@ pub(crate) struct List<'gc> {
impl<'gc> List<'gc> {
pub(crate) fn new(mc: &Mutation<'gc>, data: SmallVec<[Value<'gc>; 4]>) -> Gc<'gc, Self> {
Gc::new(mc, Self {
inner: RefLock::new(data)
})
Gc::new(
mc,
Self {
inner: RefLock::new(data),
},
)
}
pub(crate) fn new_gc(mc: &Mutation<'gc>) -> Gc<'gc, Self> {