summaryrefslogtreecommitdiffstats
path: root/markup/tableofcontents/tableofcontents.go
diff options
context:
space:
mode:
Diffstat (limited to 'markup/tableofcontents/tableofcontents.go')
-rw-r--r--markup/tableofcontents/tableofcontents.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/markup/tableofcontents/tableofcontents.go b/markup/tableofcontents/tableofcontents.go
index 774b5c6cd..5afb36067 100644
--- a/markup/tableofcontents/tableofcontents.go
+++ b/markup/tableofcontents/tableofcontents.go
@@ -31,7 +31,7 @@ type Builder struct {
toc *Fragments
}
-// Add adds the heading to the ToC.
+// AddAt adds the heading to the ToC.
func (b *Builder) AddAt(h *Heading, row, level int) {
if b.toc == nil {
b.toc = &Fragments{}