Skip to content

Commit da7f43c

Browse files
authored
Fix typo in promise.go (rogchap#310)
Literally just fixing a typo in `promise.go` that I discovered while strolling through the code.
1 parent db78170 commit da7f43c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

promise.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ type Promise struct {
3333
*Object
3434
}
3535

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

0 commit comments

Comments
 (0)