Delete the doc lines the panel read as restating their code

This commit is contained in:
2026-10-07 01:08:51 +02:00
committed by Lillem4n
parent f50c52e174
commit f7d9e3fb71
9 changed files with 7 additions and 19 deletions
+1 -3
View File
@@ -30,7 +30,6 @@ type Record struct {
columns []Column
}
// Columns returns the record's columns in name order.
func (r *Record) Columns() []Column {
return append([]Column(nil), r.columns...)
}
@@ -214,8 +213,7 @@ func (f *Generator) FakeRecordTemplate(input string) (*Record, error) {
// the record to write instead.
var ErrNoColumns = errors.New("has no fields, so no columns")
// recordOf is the record template n is, the fence FakeRecord, NewRecordTemplate and FakeStruct
// pass; settleRecords fixed its columns at load.
// recordOf is the record template n is; settleRecords fixed its columns at load.
func recordOf(n node) (*template, error) {
if tb, isTable := n.(*table); isTable {
n = tb.formatTemplate