aboutsummaryrefslogtreecommitdiffhomepage
path: root/cache
diff options
context:
space:
mode:
Diffstat (limited to 'cache')
-rw-r--r--cache/docs.go2
-rw-r--r--cache/filecache/filecache_config.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/cache/docs.go b/cache/docs.go
index babecec22..b9c49840f 100644
--- a/cache/docs.go
+++ b/cache/docs.go
@@ -1,2 +1,2 @@
-// Package cache contains the differenct cache implementations.
+// Package cache contains the different cache implementations.
package cache
diff --git a/cache/filecache/filecache_config.go b/cache/filecache/filecache_config.go
index e8019578a..33d2750ea 100644
--- a/cache/filecache/filecache_config.go
+++ b/cache/filecache/filecache_config.go
@@ -81,7 +81,7 @@ type FileCacheConfig struct {
// Max age of cache entries in this cache. Any items older than this will
// be removed and not returned from the cache.
// A negative value means forever, 0 means cache is disabled.
- // Hugo is leninent with what types it accepts here, but we recommend using
+ // Hugo is lenient with what types it accepts here, but we recommend using
// a duration string, a sequence of decimal numbers, each with optional fraction and a unit suffix,
// such as "300ms", "1.5h" or "2h45m".
// Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h".