diff --git a/packages/blitz/src/renderer/render.rs b/packages/blitz/src/renderer/render.rs index b186ef15..d99026f4 100644 --- a/packages/blitz/src/renderer/render.rs +++ b/packages/blitz/src/renderer/render.rs @@ -106,7 +106,7 @@ pub struct VelloSceneGenerator<'dom> { devtools: Devtools, } -impl<'dom> VelloSceneGenerator<'dom> { +impl VelloSceneGenerator<'_> { fn node_position(&self, node: usize, location: Point) -> (Layout, Point) { let layout = self.layout(node); let pos = location + Vec2::new(layout.location.x as f64, layout.location.y as f64); diff --git a/packages/dioxus-blitz/src/documents/dioxus_document.rs b/packages/dioxus-blitz/src/documents/dioxus_document.rs index 56f13933..c0cad3ad 100644 --- a/packages/dioxus-blitz/src/documents/dioxus_document.rs +++ b/packages/dioxus-blitz/src/documents/dioxus_document.rs @@ -384,7 +384,7 @@ impl<'a> MutationWriter<'a> { } } -impl<'a> Drop for MutationWriter<'a> { +impl Drop for MutationWriter<'_> { fn drop(&mut self) { // Add/Update inline stylesheets (