From da7f43c007a43d74523db42da75874ede77d22c3 Mon Sep 17 00:00:00 2001 From: Lukas Malkmus Date: Wed, 13 Apr 2022 16:20:09 +0200 Subject: [PATCH] Fix typo in promise.go (#310) Literally just fixing a typo in `promise.go` that I discovered while strolling through the code. --- promise.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/promise.go b/promise.go index f056bfd9..8e9252aa 100644 --- a/promise.go +++ b/promise.go @@ -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 {