Skip to content

Commit c29a1dd

Browse files
committed
Fix warn
1 parent d2fb72a commit c29a1dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nova_vm/src/ecmascript/builtins/control_abstraction_objects/promise_objects/promise_constructor.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ impl PromiseConstructor {
274274
agent,
275275
promise.unbind(),
276276
PromiseReactionHandler::PromiseAll {
277-
index: index as u32,
277+
index,
278278
promise_all: promise_all_record,
279279
},
280280
PromiseReactionHandler::Empty,

0 commit comments

Comments
 (0)