summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2023-02-07 12:42:53 -0700
committerLuke Shumaker <lukeshu@lukeshu.com>2023-02-07 14:04:35 -0700
commitad615abffa4c215858624e9d2cf06a7207e427ac (patch)
tree665adeb6e8b610ed09044ee75cd6e77d58e9c979
parent043e2a3030489da944263d858a7567d7508ffa77 (diff)
struct.go: Fix a typo in a comment
-rw-r--r--struct.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/struct.go b/struct.go
index 8a664c6..81bc22d 100644
--- a/struct.go
+++ b/struct.go
@@ -123,7 +123,7 @@ func indexStructReal(typ reflect.Type) structIndex {
}
// indexStructInner crawls the struct `typ`, storing information on
-// all struct fields foun in to `byPos` and `byName`. If `typ`
+// all struct fields found in to `byPos` and `byName`. If `typ`
// contains other structs as fields, indexStructInner will recurse and
// call itself; keeping track of stack information with `stackPath`
// (which identifies where we are in the parent struct) and