aboutsummaryrefslogtreecommitdiff
path: root/src/reflect
diff options
context:
space:
mode:
authorYasuhiro Matsumoto <mattn.jp@gmail.com>2021-07-23 22:28:26 +0900
committerRuss Cox <rsc@golang.org>2021-08-17 13:54:10 +0000
commit4012fea822763ef3aa66dd949fa95b9f8d89450a (patch)
tree8419513e85867c188fb57e25cd660c53509dfee6 /src/reflect
parentb7b790a71a86678f036b7d30a892c5f792c5092f (diff)
downloadgo-4012fea822763ef3aa66dd949fa95b9f8d89450a.tar.gz
go-4012fea822763ef3aa66dd949fa95b9f8d89450a.zip
all: fix typos
Change-Id: I83180c472db8795803c1b9be3a33f35959e4dcc2 Reviewed-on: https://go-review.googlesource.com/c/go/+/336889 Reviewed-by: Rob Pike <r@golang.org> Reviewed-by: Austin Clements <austin@google.com>
Diffstat (limited to 'src/reflect')
-rw-r--r--src/reflect/value.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/reflect/value.go b/src/reflect/value.go
index b4b2d2e38b..e641a7957c 100644
--- a/src/reflect/value.go
+++ b/src/reflect/value.go
@@ -930,7 +930,7 @@ func callMethod(ctxt *methodValue, frame unsafe.Pointer, retValid *bool, regs *a
// Deal with the receiver. It's guaranteed to only be one word in size.
if st := methodABI.call.steps[0]; st.kind == abiStepStack {
- // Only copy the reciever to the stack if the ABI says so.
+ // Only copy the receiver to the stack if the ABI says so.
// Otherwise, it'll be in a register already.
storeRcvr(rcvr, methodFrame)
} else {