ForceMode
This commit is contained in:
+6
-3
@@ -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> {
|
||||
|
||||
Reference in New Issue
Block a user