Delete the doc lines the 2026-10-07 panel read as restating their code, and say what gatherFields' index is

This commit is contained in:
2026-10-07 01:49:54 +02:00
committed by Lillem4n
parent 451242bbf9
commit 10dbd471fb
11 changed files with 1 additions and 13 deletions
+1 -1
View File
@@ -127,7 +127,7 @@ func (sc *structCompile) spend(label string) error {
return fmt.Errorf(`%s: the struct fields reach more than %d structs; leave a struct field unfilled with fake:"-"`, label, maxStructs)
}
// t sits at index within c.typ.
// index is the field index path, as reflect's FieldByIndex takes, from c.typ to t.
func (c *structFields) gatherFields(t reflect.Type, index []int) error {
for i := 0; i < t.NumField(); i++ {
sf := t.Field(i)