Skip to content

Commit 664c2d7

Browse files
committed
Fix typo
1 parent 7342150 commit 664c2d7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

nova_vm/src/ecmascript/builtins/control_abstraction_objects/promise_objects/promise_abstract_operations/promise_all_record.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ pub struct PromiseAllRecord<'a> {
2929
pub struct PromiseAll<'a>(BaseIndex<'a, PromiseAllRecord<'static>>);
3030

3131
impl<'a> PromiseAll<'a> {
32-
pub(crate) fn on_promise_fufilled(
32+
pub(crate) fn on_promise_fulfilled(
3333
self,
3434
agent: &mut Agent,
3535
index: u32,

nova_vm/src/ecmascript/builtins/control_abstraction_objects/promise_objects/promise_abstract_operations/promise_jobs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ impl PromiseReactionJob {
294294
match reaction_type {
295295
PromiseReactionType::Fulfill => {
296296
let arg_unbound = argument.unbind();
297-
promise_all.on_promise_fufilled(agent, index, arg_unbound, gc.reborrow());
297+
promise_all.on_promise_fulfilled(agent, index, arg_unbound, gc.reborrow());
298298
(Ok(arg_unbound.bind(gc.nogc())), capability.bind(gc.nogc()))
299299
}
300300
PromiseReactionType::Reject => {

0 commit comments

Comments
 (0)