Closed randomPoison closed 4 years ago
The implementation of methods added in #12 had a bug where methods taking &mut self wouldn't correctly borrow the underlying mutex, resulting in a compiler error. This change fixes that issue and adds regression tests for it.
&mut self
The implementation of methods added in #12 had a bug where methods taking
&mut self
wouldn't correctly borrow the underlying mutex, resulting in a compiler error. This change fixes that issue and adds regression tests for it.