We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fecb7b4 commit e0e821cCopy full SHA for e0e821c
library/std/src/sync/reentrant_lock/tests.rs
@@ -51,10 +51,3 @@ fn trylock_works() {
51
.unwrap();
52
let _lock3 = l.try_lock();
53
}
54
-
55
-pub struct Answer<'a>(pub ReentrantLockGuard<'a, RefCell<u32>>);
56
-impl Drop for Answer<'_> {
57
- fn drop(&mut self) {
58
- *self.0.borrow_mut() = 42;
59
- }
60
-}
0 commit comments