mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-23 21:53:09 +02:00
all: Run modernize -fix ./...
This commit is contained in:
@@ -250,7 +250,7 @@ func (b *tocBuilder) writeHeading(level, indent int, h *Heading) {
|
||||
}
|
||||
|
||||
func (b *tocBuilder) indent(n int) {
|
||||
for i := 0; i < n; i++ {
|
||||
for range n {
|
||||
b.s.WriteString(" ")
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user