Skip to content

Commit

Permalink
Rollup merge of rust-lang#80465 - eltociear:patch-3, r=jyn514
Browse files Browse the repository at this point in the history
Fix typo in ffi-pure.md

accesing -> accessing
  • Loading branch information
GuillaumeGomez authored Dec 29, 2020
2 parents ba03726 + 02db77c commit 4b18e67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/doc/unstable-book/src/language-features/ffi-pure.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ parameters (e.g. pointers), globals, etc. `#[ffi_pure]` functions are not
referentially-transparent, and are therefore more relaxed than `#[ffi_const]`
functions.

However, accesing global memory through volatile or atomic reads can violate the
However, accessing global memory through volatile or atomic reads can violate the
requirement that two consecutive function calls shall return the same value.

A `pure` function that returns unit has no effect on the abstract machine's
Expand Down

0 comments on commit 4b18e67

Please sign in to comment.