Rename pinnedRow, table.category, checkRenders, fieldAlternation and referenceFence to what they are

This commit is contained in:
2026-09-29 04:20:28 +02:00
committed by Lillem4n
parent 4d35ead2a4
commit 29f3821a21
14 changed files with 42 additions and 42 deletions
+1 -1
View File
@@ -155,7 +155,7 @@ func columnReadOf(t *template, link templateLink) *columnRead {
// loneRef is the reference a format of one reference token and nothing else reads.
func loneRef(toks []formatToken) (string, bool) {
if len(toks) != 1 || toks[0].kind != fieldAlternation || len(toks[0].names) != 1 || !isRef(toks[0].names[0]) {
if len(toks) != 1 || toks[0].kind != nameRead || len(toks[0].names) != 1 || !isRef(toks[0].names[0]) {
return "", false
}
return toks[0].names[0], true