mirror of
https://github.com/servo/servo.git
synced 2025-06-18 21:34:30 +00:00
Remove the unused DOMRefCell::unwrap method.
This commit is contained in:
parent
58e7b8c154
commit
0274978a08
1 changed files with 0 additions and 4 deletions
|
@ -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,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue