diff options
| author | John Kåre Alsaker <john.kare.alsaker@gmail.com> | 2019-02-13 13:13:08 +0100 |
|---|---|---|
| committer | John Kåre Alsaker <john.kare.alsaker@gmail.com> | 2019-02-15 03:51:48 +0100 |
| commit | 82d7e33972db9dfa1f35e2374ed8165bc05cb736 (patch) | |
| tree | b957ad827e8a8fc1fb6ecb7069dab7735d0182d2 | |
| parent | 82ec72391f36579b5bc8f04c3cb55cf06020fca1 (diff) | |
| download | rust-82d7e33972db9dfa1f35e2374ed8165bc05cb736.tar.gz rust-82d7e33972db9dfa1f35e2374ed8165bc05cb736.zip | |
Remove `stolen`
| -rw-r--r-- | src/librustc/ty/steal.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/librustc/ty/steal.rs b/src/librustc/ty/steal.rs index 0d31bdceedc..a8f9301ba51 100644 --- a/src/librustc/ty/steal.rs +++ b/src/librustc/ty/steal.rs @@ -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() - } } |
