hugo

Unnamed repository; edit this file 'description' to name the repository.

git clone git://git.shimmy1996.com/hugo.git
commit a461e9d01a95089eca571d3a49642b01d9173c18
parent 48c98a8d24a0f5ceb17ce4977587f660d137a1a5
Author: Panagiotis Koursaris <panakourweb@gmail.com>
Date:   Thu, 10 Mar 2022 16:53:23 +0200

Fix typo
Diffstat:
Mcommon/hreflect/helpers.go | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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)