summaryrefslogtreecommitdiff
path: root/internal/jsonstruct/struct.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/jsonstruct/struct.go')
-rw-r--r--internal/jsonstruct/struct.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/jsonstruct/struct.go b/internal/jsonstruct/struct.go
index 16c45de..20e82ca 100644
--- a/internal/jsonstruct/struct.go
+++ b/internal/jsonstruct/struct.go
@@ -63,7 +63,7 @@ func indexStructReal(typ reflect.Type) StructIndex {
ret.ByName[name] = len(ret.ByPos)
ret.ByPos = append(ret.ByPos, _field)
default:
- // To quote the encoding/json docs (version 1.18.4):
+ // To quote the encoding/json docs (version 1.20):
//
// If there are multiple fields at the same level, and that level is the
// least nested (and would therefore be the nesting level selected by the