Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Davis <phil@jankaritech.com>2020-12-16 14:11:32 +0300
committerGitHub <noreply@github.com>2020-12-16 14:11:32 +0300
commit04b89857e104ac7dcbf9fc65d8d4f1a1178123e6 (patch)
tree585bf761f0a1cfc69dffcd8afd22e94ca9da7c07 /tpl/strings
parent21fa1e86f2aa929fb0983a0cc3dc4e271ea1cc54 (diff)
all: Fix minor typos
Diffstat (limited to 'tpl/strings')
-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 {