Skip to content

Commit

Permalink
rewrite key_expr section
Browse files Browse the repository at this point in the history
  • Loading branch information
mightyiam committed May 2, 2022
1 parent c1ff2bb commit 905c03b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Expand Up @@ -33,8 +33,10 @@ fn f(input: usize) -> usize {

# `key_expr`

The `key_expr` argument is an arbitrary expression.
It may use bindings from the function's parameters.
In each invocation a key is obtained.
It is used to query the function's cache store for a possible hit.
An expression that evaluates into a key must be provided via the `key_expr` argument.
The expression may use bindings from the function's parameters.

# `key_type`

Expand Down

0 comments on commit 905c03b

Please sign in to comment.