X Tutup
Skip to content

Commit df126ca

Browse files
committed
Fix Constants newtype usage in init_cleanup_code
1 parent 79ee5ef commit df126ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/vm/src/vm/context.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ impl Context {
427427
obj_name: names.__init__,
428428
qualname: names.__init__,
429429
cell2arg: None,
430-
constants: Vec::new().into_boxed_slice(),
430+
constants: core::iter::empty().collect(),
431431
names: Vec::new().into_boxed_slice(),
432432
varnames: Vec::new().into_boxed_slice(),
433433
cellvars: Vec::new().into_boxed_slice(),

0 commit comments

Comments
 (0)
X Tutup