mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
parent
af4c3901d8
commit
8d86f89f63
1 changed files with 0 additions and 5 deletions
|
@ -433,11 +433,6 @@ impl<T: Reflectable> Root<T> {
|
|||
&**self
|
||||
}
|
||||
|
||||
/// Don't use this. Don't make me find you.
|
||||
pub fn get_unsound_ref_forever<'a, 'b>(&'a self) -> &'b T {
|
||||
unsafe { &**self.ptr }
|
||||
}
|
||||
|
||||
/// Generate a new root from a JS<T> reference
|
||||
#[allow(unrooted_must_root)]
|
||||
pub fn from_rooted(js: JS<T>) -> Root<T> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue