summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--common/hreflect/helpers.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/hreflect/helpers.go b/common/hreflect/helpers.go
index 7f3ef7ac2..e1c01456d 100644
--- a/common/hreflect/helpers.go
+++ b/common/hreflect/helpers.go
@@ -128,7 +128,7 @@ type methods struct {
var methodCache = &methods{cache: make(map[methodKey]int)}
-// GetMethodByName is the samve as reflect.Value.MethodByName, but it caches the
+// GetMethodByName is the same as reflect.Value.MethodByName, but it caches the
// type lookup.
func GetMethodByName(v reflect.Value, name string) reflect.Value {
index := GetMethodIndexByName(v.Type(), name)