Remove remaining reference to the long-disappeared JSRef type.

This commit is contained in:
Ms2ger 2016-01-18 09:52:23 +01:00
parent 754120684b
commit ff0992401e
2 changed files with 3 additions and 2 deletions

View file

@ -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.

View file

@ -33,7 +33,8 @@
//!
//! The instance methods for an interface `Foo` are defined on a
//! `dom::bindings::codegen::Bindings::FooBindings::FooMethods` trait. This
//! trait is then implemented for `JSRef<'a, Foo>`.
//! trait is then implemented for `Foo`. (All methods take an `&self`
//! parameter, as pointers to DOM objects can be freely aliased.)
//!
//! The return type and argument types are determined [as described below]
//! (#rust-reflections-of-webidl-types).