Refine a lifetime parameter on TElement's get_local_name

This commit is contained in:
Cameron Zwarich 2014-09-30 20:49:35 -07:00
parent e894499c17
commit ccc5d976f7
3 changed files with 6 additions and 6 deletions

View file

@ -24,8 +24,8 @@ pub trait TNode<'a, E: TElement<'a>> : Clone {
pub trait TElement<'a> {
fn get_attr(&self, namespace: &Namespace, attr: &str) -> Option<&'a str>;
fn get_link(&self) -> Option<&'a str>;
fn get_local_name<'b>(&'b self) -> &'b Atom;
fn get_namespace<'b>(&'b self) -> &'b Namespace;
fn get_local_name(&self) -> &'a Atom;
fn get_namespace(&self) -> &'a Namespace;
fn get_hover_state(&self) -> bool;
fn get_id(&self) -> Option<Atom>;
fn get_disabled_state(&self) -> bool;