aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/layout_dom/shadow_root.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/layout_dom/shadow_root.rs')
-rw-r--r--components/script/layout_dom/shadow_root.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/layout_dom/shadow_root.rs b/components/script/layout_dom/shadow_root.rs
index 0763e150eff..4c42db9d941 100644
--- a/components/script/layout_dom/shadow_root.rs
+++ b/components/script/layout_dom/shadow_root.rs
@@ -18,7 +18,7 @@ pub struct ServoShadowRoot<'dom> {
shadow_root: LayoutDom<'dom, ShadowRoot>,
}
-impl<'dom> fmt::Debug for ServoShadowRoot<'dom> {
+impl fmt::Debug for ServoShadowRoot<'_> {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
self.as_node().fmt(f)
}