]> git.lizzy.rs Git - rust.git/commit
Fix a documentation bug for memory orderings
authorJeehoon Kang <jeehoon.kang@sf.snu.ac.kr>
Wed, 29 Jul 2015 13:48:25 +0000 (22:48 +0900)
committerJeehoon Kang <jeehoon.kang@sf.snu.ac.kr>
Wed, 29 Jul 2015 13:48:25 +0000 (22:48 +0900)
commit2081aa623daed4b90c45e77e88349f73b54e32d8
tree056dc832112bade39fc9b369580eda8d47fc18aa
parent78bf4b6ff68420a718e8b0ed6b3016d1cf395083
Fix a documentation bug for memory orderings

As described in the module documentation, the memory orderings in Rust
are the same with that of LLVM.  However, the documentation for the
memory orderings enum says the memory orderings are the same of that of
C++.  Note that they differ in that C++'s support the consume reads,
while LLVM's does not.  Hence this commit fixes the bug in the
documentation for the enum.
src/libcore/atomic.rs