aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/activation.rs
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2015-09-04 08:55:51 +0530
committerManish Goregaokar <manishsmail@gmail.com>2015-09-04 08:55:51 +0530
commit54c036cd66f6c9a59610fb804d57a63ab7aad19f (patch)
tree08d14c8c8e0ed17ca9da314e22b9ac32d73aaf00 /components/script/dom/activation.rs
parent35dd1816a9ea90484ae91ecce3a3e7eb094227c1 (diff)
downloadservo-54c036cd66f6c9a59610fb804d57a63ab7aad19f.tar.gz
servo-54c036cd66f6c9a59610fb804d57a63ab7aad19f.zip
Elide most 'a lifetimes
Diffstat (limited to 'components/script/dom/activation.rs')
-rw-r--r--components/script/dom/activation.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/activation.rs b/components/script/dom/activation.rs
index 441871f9abe..d14861ed686 100644
--- a/components/script/dom/activation.rs
+++ b/components/script/dom/activation.rs
@@ -14,7 +14,7 @@ use std::borrow::ToOwned;
/// Trait for elements with defined activation behavior
pub trait Activatable {
- fn as_element<'a>(&'a self) -> &'a Element;
+ fn as_element(&self) -> &Element;
// Is this particular instance of the element activatable?
fn is_instance_activatable(&self) -> bool;