]> Cypherpunks repositories - gostls13.git/commitdiff
reflect: fix typo in comment
authorguoguangwu <guoguangwu@magic-shield.com>
Mon, 26 Feb 2024 09:32:48 +0000 (09:32 +0000)
committerGopher Robot <gobot@golang.org>
Tue, 27 Feb 2024 16:41:16 +0000 (16:41 +0000)
Change-Id: Ia8e666b128622391d72e42449c01c4e10f3c9e1e
GitHub-Last-Rev: c74cf13b70772a965a14630108544a89690d1383
GitHub-Pull-Request: golang/go#65938
Reviewed-on: https://go-review.googlesource.com/c/go/+/566855
Reviewed-by: Carlos Amedee <carlos@golang.org>
Reviewed-by: qiulaidongfeng <2645477756@qq.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
src/reflect/value.go

index adb81d4641c4dce3249228c279b64a66edbf0fd0..ae24eea79510d4b4e2a14899129a96dcee815cd8 100644 (file)
@@ -945,7 +945,7 @@ func align(x, n uintptr) uintptr {
 // so that the linker can make it work correctly for panic and recover.
 // The gc compilers know to do that for the name "reflect.callMethod".
 //
-// ctxt is the "closure" generated by makeVethodValue.
+// ctxt is the "closure" generated by makeMethodValue.
 // frame is a pointer to the arguments to that closure on the stack.
 // retValid points to a boolean which should be set when the results
 // section of frame is set.