Skip to content

Commit

Permalink
Fix micro typo in async/unsafe function docs
Browse files Browse the repository at this point in the history
**This Commit**
Changes "callers responsibility" to "caller's responsibility".

**Why?**
Just saw it while reading and figured it was a typo.
  • Loading branch information
mlodato517 committed Jan 25, 2022
1 parent e67f679 commit 9b455d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/items/functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ other unsafe function, these conditions may extend beyond the initial
call itself -- in the snippet above, for example, the `unsafe_example`
function took a pointer `x` as argument, and then (when awaited)
dereferenced that pointer. This implies that `x` would have to be
valid until the future is finished executing, and it is the callers
valid until the future is finished executing, and it is the caller's
responsibility to ensure that.

## Attributes on functions
Expand Down

0 comments on commit 9b455d3

Please sign in to comment.