Skip to content

Commit

Permalink
Fix typo in promise.go (#310)
Browse files Browse the repository at this point in the history
Literally just fixing a typo in `promise.go` that I discovered while strolling through the code.
  • Loading branch information
lukasmalkmus committed Apr 13, 2022
1 parent db78170 commit da7f43c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion promise.go
Expand Up @@ -33,7 +33,7 @@ type Promise struct {
*Object
}

// MewPromiseResolver creates a new Promise resolver for the given context.
// NewPromiseResolver creates a new Promise resolver for the given context.
// The associated Promise will be in a Pending state.
func NewPromiseResolver(ctx *Context) (*PromiseResolver, error) {
if ctx == nil {
Expand Down

0 comments on commit da7f43c

Please sign in to comment.