Skip to content

Commit

Permalink
Merge pull request rust-lang#1145 from mlodato517/patch-1
Browse files Browse the repository at this point in the history
Fix micro typo in async/unsafe function docs
  • Loading branch information
ehuss committed Jan 25, 2022
2 parents e67f679 + 9b455d3 commit 2aec62f
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 2aec62f

Please sign in to comment.