Remove stolen

This commit is contained in:
John Kåre Alsaker 2019-02-13 13:13:08 +01:00
parent 82ec72391f
commit 82d7e33972

View File

@ -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()
}
}