Delete the duplicated recompile note and a miscount beside named
This commit is contained in:
+1
-2
@@ -85,8 +85,7 @@ func linkRefs(root map[string]node) error {
|
||||
|
||||
// linkTemplateRefs binds one template's references against root, refusing one that names the
|
||||
// category it sits in: a category is a unit, and a reference back into it describes a draw other
|
||||
// than the fields beside it. A template with no reference is left untouched, so an inline format
|
||||
// that references nothing costs only the refTokens scan.
|
||||
// than the fields beside it.
|
||||
func linkTemplateRefs(folder []string, path, category string, t *template, root map[string]node) error {
|
||||
names := refTokens(t.format)
|
||||
if len(names) == 0 {
|
||||
|
||||
Reference in New Issue
Block a user