aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/bindings/cell.rs
diff options
context:
space:
mode:
authorMs2ger <ms2ger@gmail.com>2014-12-20 15:03:11 +0100
committerMs2ger <ms2ger@gmail.com>2014-12-20 15:03:11 +0100
commit0274978a0879178850e799152e16e15f30edd73c (patch)
tree42e145439938e913bc93d52a51119b1b68fbbc6f /components/script/dom/bindings/cell.rs
parent58e7b8c154cae663ee82b6c042044de68c43a007 (diff)
downloadservo-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.rs4
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,