reflect: fix typo in comment

Signed-off-by: guoguangwu <guoguangwu@magic-shield.com>
This commit is contained in:
guoguangwu 2024-02-26 17:19:35 +08:00
parent 7db8b9e518
commit c74cf13b70
1 changed files with 1 additions and 1 deletions

View 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.