Remove stolen
This commit is contained in:
parent
82ec72391f
commit
82d7e33972
@ -43,8 +43,4 @@ pub fn steal(&self) -> 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…
Reference in New Issue
Block a user