aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/style/node.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/style/node.rs')
-rw-r--r--src/components/style/node.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/style/node.rs b/src/components/style/node.rs
index 546ef329795..df136a97be2 100644
--- a/src/components/style/node.rs
+++ b/src/components/style/node.rs
@@ -18,7 +18,7 @@ pub trait TNode<E:TElement> : Clone {
}
pub trait TElement {
- fn get_attr(&self, namespace: Option<~str>, attr: &str) -> Option<~str>;
+ fn get_attr(&self, namespace: Option<~str>, attr: &str) -> Option<&'static str>;
fn get_link(&self) -> Option<~str>;
fn get_local_name<'a>(&'a self) -> &'a str;
fn get_namespace_url<'a>(&'a self) -> &'a str;