mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-25 05:14:27 +00:00
Rollup merge of #80465 - eltociear:patch-3, r=jyn514
Fix typo in ffi-pure.md accesing -> accessing
This commit is contained in:
commit
b050261a1a
@ -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