Fix typo in ffi-pure.md

accesing -> accessing
This commit is contained in:
Ikko Ashimine 2020-12-29 13:37:21 +09:00 committed by GitHub
parent d75f48e04d
commit 02db77c2d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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]` referentially-transparent, and are therefore more relaxed than `#[ffi_const]`
functions. 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. 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 A `pure` function that returns unit has no effect on the abstract machine's