Skip to content

Commit

Permalink
Fx typo
Browse files Browse the repository at this point in the history
  • Loading branch information
inferrna committed Dec 10, 2020
1 parent 4062d73 commit 67d239e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ mod store {
* The `memoize` attribute can take further parameters in order to use an LRU cache:
* `#[memoize(Capacity: 1234)]`. In that case, instead of a `HashMap` we use an `lru::LruCache`
* with the given capacity.
* `#[memoize(TimeToLive: Duration::from_secs(2))]`. In that case, cached walue will be actual
* `#[memoize(TimeToLive: Duration::from_secs(2))]`. In that case, cached value will be actual
* no longer than duration provided and refreshed with next request. If you prefer chrono::Duration,
* it can be also used: `#[memoize(TimeToLive: chrono::Duration::hours(9).to_std().unwrap()]`
*
Expand Down

0 comments on commit 67d239e

Please sign in to comment.