From a3dfb2a6c55e325249eb2bb34ae22c4e36dd88b5 Mon Sep 17 00:00:00 2001 From: Lukas Malkmus Date: Fri, 8 Apr 2022 14:06:17 +0100 Subject: [PATCH] Fix typo in promise.go 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 {