From 0274978a0879178850e799152e16e15f30edd73c Mon Sep 17 00:00:00 2001 From: Ms2ger Date: Sat, 20 Dec 2014 15:03:11 +0100 Subject: [PATCH] Remove the unused DOMRefCell::unwrap method. --- components/script/dom/bindings/cell.rs | 4 ---- 1 file changed, 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 DOMRefCell { } } - pub fn unwrap(self) -> T { - self.value.unwrap() - } - pub fn borrow<'a>(&'a self) -> Ref<'a, T> { match self.try_borrow() { Some(ptr) => ptr,