Skip to content

Commit

Permalink
Remove stolen
Browse files Browse the repository at this point in the history
  • Loading branch information
Zoxc committed Feb 15, 2019
1 parent 82ec723 commit 82d7e33
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/librustc/ty/steal.rs
Expand Up @@ -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()
}
}

0 comments on commit 82d7e33

Please sign in to comment.