diff options
author | Ms2ger <ms2ger@gmail.com> | 2014-12-20 15:03:11 +0100 |
---|---|---|
committer | Ms2ger <ms2ger@gmail.com> | 2014-12-20 15:03:11 +0100 |
commit | 0274978a0879178850e799152e16e15f30edd73c (patch) | |
tree | 42e145439938e913bc93d52a51119b1b68fbbc6f /components/script/dom/bindings/cell.rs | |
parent | 58e7b8c154cae663ee82b6c042044de68c43a007 (diff) | |
download | servo-0274978a0879178850e799152e16e15f30edd73c.tar.gz servo-0274978a0879178850e799152e16e15f30edd73c.zip |
Remove the unused DOMRefCell::unwrap method.
Diffstat (limited to 'components/script/dom/bindings/cell.rs')
-rw-r--r-- | components/script/dom/bindings/cell.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/components/script/dom/bindings/cell.rs b/components/script/dom/bindings/cell.rs index 76219b799c8..48f22f9336d 100644 --- a/components/script/dom/bindings/cell.rs +++ b/components/script/dom/bindings/cell.rs @@ -72,10 +72,6 @@ impl<T> DOMRefCell<T> { } } - pub fn unwrap(self) -> T { - self.value.unwrap() - } - pub fn borrow<'a>(&'a self) -> Ref<'a, T> { match self.try_borrow() { Some(ptr) => ptr, |