about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2015-05-06 18:07:41 +0000
committerbors <bors@rust-lang.org>2015-05-06 18:07:41 +0000
commite6378cbda39521fa3b9a457b5ed36ecefe37f932 (patch)
tree0793ba4708b6c1582bac1fa955e11961c1fd4269 /src/rustllvm/RustWrapper.cpp
parent0848d1c6a5908a9c3e6545e8a527027b164c7d05 (diff)
parent833fc273a7e63edea4f44e18112facdafe9185f6 (diff)
downloadrust-e6378cbda39521fa3b9a457b5ed36ecefe37f932.tar.gz
rust-e6378cbda39521fa3b9a457b5ed36ecefe37f932.zip
Auto merge of #25153 - jgallagher:rwlock-try-write, r=alexcrichton
Previously, `try_write` actually only obtained shared read access (but would return a `RwLockWriteGuard` if that access was successful).

Also updates the docs for `try_read` and `try_write`, which were leftover from when those methods returned `Option` instead of `Result`.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions