mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +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
|
@ -395,12 +395,12 @@ impl<'le> LayoutElement<'le> {
|
|||
|
||||
impl<'le> TElement<'le> for LayoutElement<'le> {
|
||||
#[inline]
|
||||
fn get_local_name<'a>(&'a self) -> &'a Atom {
|
||||
fn get_local_name(&self) -> &'le Atom {
|
||||
&self.element.local_name
|
||||
}
|
||||
|
||||
#[inline]
|
||||
fn get_namespace<'a>(&'a self) -> &'a Namespace {
|
||||
fn get_namespace(&self) -> &'le Namespace {
|
||||
&self.element.namespace
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue