Remove the unused DOMRefCell::unwrap method.

This commit is contained in:
Ms2ger 2014-12-20 15:03:11 +01:00
parent 58e7b8c154
commit 0274978a08

View file

@ -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> { pub fn borrow<'a>(&'a self) -> Ref<'a, T> {
match self.try_borrow() { match self.try_borrow() {
Some(ptr) => ptr, Some(ptr) => ptr,