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
path: root/tpl/math
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2017-08-07 21:19:24 +0300
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2017-08-07 21:19:24 +0300
commit46ac7453743f0bd889d0be3505bde2521f9f0336 (patch)
treecdaa5b34a3764d7ab7cb5b2d28efbed928c9b18d /tpl/math
parent4b54fb07018d5ed66ef82b6a53462e1b15c85d86 (diff)
all: Fix spelling
And some other minor issues.
Diffstat (limited to 'tpl/math')
-rw-r--r--tpl/math/math.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tpl/math/math.go b/tpl/math/math.go
index f45488166..5ddc3eb9c 100644
--- a/tpl/math/math.go
+++ b/tpl/math/math.go
@@ -92,7 +92,7 @@ func (ns *Namespace) Mul(a, b interface{}) (interface{}, error) {
return DoArithmetic(a, b, '*')
}
-// Sub substracts two numbers.
+// Sub subtracts two numbers.
func (ns *Namespace) Sub(a, b interface{}) (interface{}, error) {
return DoArithmetic(a, b, '-')
}