diff options
author | James Graham <james@hoppipolla.co.uk> | 2013-09-10 10:24:40 +0100 |
---|---|---|
committer | Josh Matthews <josh@joshmatthews.net> | 2013-11-12 17:39:04 +0900 |
commit | 15b9d4d19967ed96bd459bf15cae5b793567c227 (patch) | |
tree | 5e1237d9bd62386b327e30e52bf8870f5ff9f107 /src/components/util/tree.rs | |
parent | 433f19f5a310f71273f03504261568d393e648ea (diff) | |
download | servo-15b9d4d19967ed96bd459bf15cae5b793567c227.tar.gz servo-15b9d4d19967ed96bd459bf15cae5b793567c227.zip |
Initial support for Attr and namespaces.
Diffstat (limited to 'src/components/util/tree.rs')
-rw-r--r-- | src/components/util/tree.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/util/tree.rs b/src/components/util/tree.rs index 4a156cfa6ca..c84de349579 100644 --- a/src/components/util/tree.rs +++ b/src/components/util/tree.rs @@ -348,6 +348,6 @@ pub trait TreeNode<Ref: TreeNodeRef<Self>> { pub trait ElementLike { fn get_local_name<'a>(&'a self) -> &'a str; - fn get_attr<'a>(&'a self, name: &str) -> Option<&'a str>; - fn get_link<'a>(&'a self) -> Option<&'a str>; + fn get_attr(&self, name: &str) -> Option<~str>; + fn get_link(&self) -> Option<~str>; } |