From 789c47d0ee49e01f2aefd81a1463f4d68f57a503 Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Tue, 29 Sep 2026 15:29:01 +0200 Subject: [PATCH] Name a real method in declaredFuncs' example --- doc_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc_test.go b/doc_test.go index ce32fff..9dd978c 100644 --- a/doc_test.go +++ b/doc_test.go @@ -109,7 +109,7 @@ func declaredSymbols(files []*ast.File) map[string]bool { } // declaredFuncs is every function the package declares, a method keyed under its -// type: template.compileFormat. +// type: template.fixedText. func declaredFuncs(files []*ast.File) map[string]bool { names := map[string]bool{} for _, f := range files {