Skip to content

Commit efc80f3

Browse files
committed
clippy
1 parent 91ae3f0 commit efc80f3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

nova_vm/src/engine/bytecode/bytecode_compiler.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3692,7 +3692,8 @@ impl<'a, 's, 'gc, 'scope> CompileEvaluation<'a, 's, 'gc, 'scope> for ast::TSEnum
36923692
let (cap, index) = agent
36933693
.heap
36943694
.elements
3695-
.allocate_keys_with_capacity(properties_count);
3695+
.allocate_keys_with_capacity(properties_count)
3696+
.expect("Should perform GC here");
36963697
let cap = cap.make_intrinsic();
36973698

36983699
let keys_memory = agent.heap.elements.get_keys_uninit_raw(cap, index);

0 commit comments

Comments
 (0)