Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove remaining reference to the long-disappeared JSRef type. #9366

Merged
merged 1 commit into from Jan 18, 2016
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Remove remaining reference to the long-disappeared JSRef type.

  • Loading branch information
Ms2ger committed Jan 18, 2016
commit ff0992401eacdc6a1eca638e2bf7f61642c95c13
@@ -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.
@@ -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).
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.