summaryrefslogtreecommitdiff
path: root/src/pkg/template/parse.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/template/parse.go')
-rw-r--r--src/pkg/template/parse.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/template/parse.go b/src/pkg/template/parse.go
index b4aa5fcd2..dedf9ad8e 100644
--- a/src/pkg/template/parse.go
+++ b/src/pkg/template/parse.go
@@ -483,7 +483,7 @@ func extractFormatters(words []string) (formatters []string) {
}
}
words[len(words)-1] = lastWord[0:bar]
- formatters = strings.Split(lastWord[bar+1:], "|", -1)
+ formatters = strings.Split(lastWord[bar+1:], "|")
return
}