Skip to content

Commit

Permalink
function-arg-return: fix docs typo (#504)
Browse files Browse the repository at this point in the history
Signed-off-by: Stephan Renatus <stephan@styra.com>
  • Loading branch information
srenatus authored Nov 29, 2023
1 parent f7dca35 commit 58c5e2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/rules/style/function-arg-return.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ has_email(user) if {
## Rationale

Older Rego policies sometimes contain an unusual way to declare where the return value of a function call should be
stored — the last argument of the function. True to it's Datalog roots, return values may be stored either using
stored — the last argument of the function. True to its Datalog roots, return values may be stored either using
assignment (i.e. `:=`) or by appending a variable name to the argument list of a function. While both forms are valid,
using assignment `:=` consistently is preferred.

Expand Down

0 comments on commit 58c5e2e

Please sign in to comment.