mirror of
https://github.com/servo/servo.git
synced 2025-08-08 06:55:31 +01:00
Refine a lifetime parameter on TElement's get_local_name
This commit is contained in:
parent
e894499c17
commit
ccc5d976f7
3 changed files with 6 additions and 6 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue