mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Elide most 'a lifetimes
This commit is contained in:
parent
35dd1816a9
commit
54c036cd66
33 changed files with 126 additions and 126 deletions
|
@ -404,7 +404,7 @@ pub fn initialize_global(global: *mut JSObject) {
|
|||
/// A trait to provide access to the `Reflector` for a DOM object.
|
||||
pub trait Reflectable {
|
||||
/// Returns the receiver's reflector.
|
||||
fn reflector<'a>(&'a self) -> &'a Reflector;
|
||||
fn reflector(&self) -> &Reflector;
|
||||
/// Initializes the Reflector
|
||||
fn init_reflector(&mut self, _obj: *mut JSObject) {
|
||||
panic!("Cannot call init on this Reflectable");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue