Skip to content

Commit e1278ac

Browse files
tgrkwhitfin
authored andcommitted
Fix stats configuration in docs
1 parent b1c6cf8 commit e1278ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/cachex.ex

+1-1
Original file line numberDiff line numberDiff line change
@@ -1162,7 +1162,7 @@ defmodule Cachex do
11621162
@doc """
11631163
Retrieves statistics about a cache.
11641164
1165-
This will only provide statistics if the `:stats` option was
1165+
This will only provide statistics if the `:hooks` option with `hook(module: Cachex.Stats)` was
11661166
provided on cache startup in `start_link/2`.
11671167
11681168
## Examples

0 commit comments

Comments
 (0)