mirror of
https://github.com/rust-lang/rust.git
synced 2026-06-01 05:57:03 +03:00
3d5a40809c
Since non-poisoning `Condvar` take non-poisoing `Mutex`es when `wait`ing, we do not need to take by ownership since a poison error cannot occur while we wait. Signed-off-by: Connor Tsui <connor.tsui20@gmail.com>