Skip to content

Commit a39c294

Browse files
committed
auto merge of #12954 : brson/rust/atomicdocs, r=alexcrichton
This adds lots of docs to the atomics module. Two of the examples are using the future atomics API (relying on `Share`) and are ignored temporarily. I discovered a bug in the way AtomicBool's fetch_nand method is implemented and fixed it by using the correct value for `true`. I also fixed the implementation of AcqRel fences (it was only doing a release barrier), and made a "relaxed" fence a failure.
2 parents 87e72c3 + 749e527 commit a39c294

File tree

1 file changed

+393
-68
lines changed

1 file changed

+393
-68
lines changed

0 commit comments

Comments
 (0)