diff options
Diffstat (limited to 'components/script/dom/virtualmethods.rs')
-rw-r--r-- | components/script/dom/virtualmethods.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/virtualmethods.rs b/components/script/dom/virtualmethods.rs index adbeb15c2ba..1bd86677bd6 100644 --- a/components/script/dom/virtualmethods.rs +++ b/components/script/dom/virtualmethods.rs @@ -66,7 +66,7 @@ use string_cache::Atom; pub trait VirtualMethods { /// Returns self as the superclass of the implementation for this trait, /// if any. - fn super_type<'a>(&'a self) -> Option<&'a VirtualMethods>; + fn super_type<'b>(&'b self) -> Option<&'b VirtualMethods>; /// Called when changing or adding attributes, after the attribute's value /// has been updated. |