mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 01:04:03 +00:00
Fix typo in ffi-pure.md
accesing -> accessing
This commit is contained in:
parent
d75f48e04d
commit
02db77c2d1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user