diff options
author | Oleksandr Redko <[email protected]> | 2023-02-18 22:47:35 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2023-03-02 16:32:32 +0100 |
commit | 36ce3a4a9d3933772085991c8636915ffd5cb3af (patch) | |
tree | e7eaf3e0ea689b227fe012eab7c0f16205d6cd8c /langs | |
parent | 17e60b77e15664ba37f5c0b911cf70c36d496d80 (diff) | |
download | hugo-36ce3a4a9d3933772085991c8636915ffd5cb3af.tar.gz hugo-36ce3a4a9d3933772085991c8636915ffd5cb3af.zip |
Correct typos in Go comments
Diffstat (limited to 'langs')
-rw-r--r-- | langs/language.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/langs/language.go b/langs/language.go index 42aefda5e..9b96ec0a0 100644 --- a/langs/language.go +++ b/langs/language.go @@ -92,7 +92,7 @@ type Language struct { collator *Collator location *time.Location - // Error during initialization. Will fail the buld. + // Error during initialization. Will fail the build. initErr error } @@ -223,7 +223,7 @@ func (l Languages) AsOrdinalSet() map[string]int { } // IsMultihost returns whether there are more than one language and at least one of -// the languages has baseURL specificed on the language level. +// the languages has baseURL specified on the language level. func (l Languages) IsMultihost() bool { if len(l) <= 1 { return false @@ -326,7 +326,7 @@ type Collator struct { // CompareStrings compares a and b. // It returns -1 if a < b, 1 if a > b and 0 if a == b. // Note that the Collator is not thread safe, so you may want -// to aquire a lock on it before calling this method. +// to acquire a lock on it before calling this method. func (c *Collator) CompareStrings(a, b string) int { return c.c.CompareString(a, b) } |