diff options
author | Manish Goregaokar <manishsmail@gmail.com> | 2015-09-04 08:55:51 +0530 |
---|---|---|
committer | Manish Goregaokar <manishsmail@gmail.com> | 2015-09-04 08:55:51 +0530 |
commit | 54c036cd66f6c9a59610fb804d57a63ab7aad19f (patch) | |
tree | 08d14c8c8e0ed17ca9da314e22b9ac32d73aaf00 /components/script/dom/eventtarget.rs | |
parent | 35dd1816a9ea90484ae91ecce3a3e7eb094227c1 (diff) | |
download | servo-54c036cd66f6c9a59610fb804d57a63ab7aad19f.tar.gz servo-54c036cd66f6c9a59610fb804d57a63ab7aad19f.zip |
Elide most 'a lifetimes
Diffstat (limited to 'components/script/dom/eventtarget.rs')
-rw-r--r-- | components/script/dom/eventtarget.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/eventtarget.rs b/components/script/dom/eventtarget.rs index 704ea280613..f2f228f2c0d 100644 --- a/components/script/dom/eventtarget.rs +++ b/components/script/dom/eventtarget.rs @@ -160,7 +160,7 @@ impl EventTarget { } #[inline] - pub fn type_id<'a>(&'a self) -> &'a EventTargetTypeId { + pub fn type_id(&self) -> &EventTargetTypeId { &self.type_id } |