aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/servoparser/html.rs
diff options
context:
space:
mode:
authorMartin Robinson <mrobinson@igalia.com>2025-01-03 19:54:44 +0100
committerGitHub <noreply@github.com>2025-01-03 18:54:44 +0000
commit621ddd749c7655a93547f52a438f2e2941d7df15 (patch)
treeda88d5b18302c99f543809063ba7dfd73645d8f4 /components/script/dom/servoparser/html.rs
parent92026cb094ed274037c48831f1bad59430e199af (diff)
downloadservo-621ddd749c7655a93547f52a438f2e2941d7df15.tar.gz
servo-621ddd749c7655a93547f52a438f2e2941d7df15.zip
Elide lifetimes where possible after rustup (#34824)
The new version of rust allows us to elide some lifetimes and clippy is now complaining about this. This change elides them where possible and removes the clippy exceptions. Fixes #34804. Signed-off-by: Martin Robinson <mrobinson@igalia.com>
Diffstat (limited to 'components/script/dom/servoparser/html.rs')
-rw-r--r--components/script/dom/servoparser/html.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/servoparser/html.rs b/components/script/dom/servoparser/html.rs
index 9d0b331fab2..b4102a2c153 100644
--- a/components/script/dom/servoparser/html.rs
+++ b/components/script/dom/servoparser/html.rs
@@ -212,7 +212,7 @@ impl Iterator for SerializationIterator {
}
}
-impl<'a> Serialize for &'a Node {
+impl Serialize for &Node {
fn serialize<S: Serializer>(
&self,
serializer: &mut S,