diff options
author | Ms2ger <ms2ger@gmail.com> | 2015-01-28 13:48:28 +0100 |
---|---|---|
committer | Ms2ger <ms2ger@gmail.com> | 2015-01-28 13:48:28 +0100 |
commit | f8ac1777ff9abcfcad5cb7a58ce3d7fbf61cf060 (patch) | |
tree | d1f6673bad49d35e83636a205edca0afca89afb7 /components/script/dom/virtualmethods.rs | |
parent | cc2523eed5bdddd054ce6918e7d2d1d7d22d9286 (diff) | |
download | servo-f8ac1777ff9abcfcad5cb7a58ce3d7fbf61cf060.tar.gz servo-f8ac1777ff9abcfcad5cb7a58ce3d7fbf61cf060.zip |
Don't shadow lifetimes in script.
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. |