Remove stolen
This commit is contained in:
parent
82ec72391f
commit
82d7e33972
@ -43,8 +43,4 @@ impl<T> Steal<T> {
|
||||
let value = value_ref.take();
|
||||
value.expect("attempt to read from stolen value")
|
||||
}
|
||||
|
||||
pub fn stolen(&self) -> bool {
|
||||
self.value.borrow().is_none()
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user