mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Remove remaining reference to the long-disappeared JSRef type.
This commit is contained in:
parent
754120684b
commit
ff0992401e
2 changed files with 3 additions and 2 deletions
|
@ -431,7 +431,7 @@ impl<T: Reflectable> LayoutJS<T> {
|
|||
}
|
||||
}
|
||||
|
||||
/// Get an `Option<JSRef<T>>` out of an `Option<Root<T>>`
|
||||
/// Get an `Option<&T>` out of an `Option<Root<T>>`
|
||||
pub trait RootedReference<T> {
|
||||
/// Obtain a safe optional reference to the wrapped JS owned-value that
|
||||
/// cannot outlive the lifetime of this root.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue