summaryrefslogtreecommitdiffstats
path: root/tpl/strings/strings.go
diff options
context:
space:
mode:
Diffstat (limited to 'tpl/strings/strings.go')
-rw-r--r--tpl/strings/strings.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tpl/strings/strings.go b/tpl/strings/strings.go
index 60cb658ba..178d17bc0 100644
--- a/tpl/strings/strings.go
+++ b/tpl/strings/strings.go
@@ -43,7 +43,7 @@ type Namespace struct {
deps *deps.Deps
}
-// CountRunes returns the number of runes in s, excluding whitepace.
+// CountRunes returns the number of runes in s, excluding whitespace.
func (ns *Namespace) CountRunes(s interface{}) (int, error) {
ss, err := cast.ToStringE(s)
if err != nil {