]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #85529 - tlyu:trylock-errors, r=JohnTitor
authorYuki Okushi <jtitor@2k36.org>
Wed, 26 May 2021 04:30:58 +0000 (13:30 +0900)
committerGitHub <noreply@github.com>
Wed, 26 May 2021 04:30:58 +0000 (13:30 +0900)
doc: clarify Mutex::try_lock, etc. errors

Clarify error returns from Mutex::try_lock, RwLock::try_read,
RwLock::try_write to make it more obvious that both poisoning
and the lock being already locked are possible errors.


Trivial merge