diff --git a/honeycomb-core/src/cmap/components/collections.rs b/honeycomb-core/src/cmap/components/collections.rs index 7e3cee97..53f055b6 100644 --- a/honeycomb-core/src/cmap/components/collections.rs +++ b/honeycomb-core/src/cmap/components/collections.rs @@ -48,8 +48,8 @@ pub struct VertexCollection<'a, T: CoordsFloat> { pub identifiers: Vec, } -unsafe impl<'a, T: CoordsFloat> Send for VertexCollection<'a, T> {} -unsafe impl<'a, T: CoordsFloat> Sync for VertexCollection<'a, T> {} +unsafe impl Send for VertexCollection<'_, T> {} +unsafe impl Sync for VertexCollection<'_, T> {} collection_constructor!(VertexCollection, VertexIdType); @@ -76,8 +76,8 @@ pub struct EdgeCollection<'a, T: CoordsFloat> { pub identifiers: Vec, } -unsafe impl<'a, T: CoordsFloat> Send for EdgeCollection<'a, T> {} -unsafe impl<'a, T: CoordsFloat> Sync for EdgeCollection<'a, T> {} +unsafe impl Send for EdgeCollection<'_, T> {} +unsafe impl Sync for EdgeCollection<'_, T> {} collection_constructor!(EdgeCollection, EdgeIdType); @@ -104,8 +104,8 @@ pub struct FaceCollection<'a, T: CoordsFloat> { pub identifiers: Vec, } -unsafe impl<'a, T: CoordsFloat> Send for FaceCollection<'a, T> {} -unsafe impl<'a, T: CoordsFloat> Sync for FaceCollection<'a, T> {} +unsafe impl Send for FaceCollection<'_, T> {} +unsafe impl Sync for FaceCollection<'_, T> {} collection_constructor!(FaceCollection, FaceIdType); diff --git a/honeycomb-core/src/cmap/dim2/orbits.rs b/honeycomb-core/src/cmap/dim2/orbits.rs index 4d7989c1..1f6a8431 100644 --- a/honeycomb-core/src/cmap/dim2/orbits.rs +++ b/honeycomb-core/src/cmap/dim2/orbits.rs @@ -121,7 +121,7 @@ impl<'a, T: CoordsFloat> Orbit2<'a, T> { } } -impl<'a, T: CoordsFloat> Iterator for Orbit2<'a, T> { +impl Iterator for Orbit2<'_, T> { type Item = DartIdType; fn next(&mut self) -> Option { diff --git a/honeycomb-render/src/gui.rs b/honeycomb-render/src/gui.rs index bc311f55..4e02b8ee 100644 --- a/honeycomb-render/src/gui.rs +++ b/honeycomb-render/src/gui.rs @@ -101,7 +101,7 @@ pub struct TabViewer<'a> { viewport_rect: &'a mut bevy_egui::egui::Rect, } -impl<'a> egui_dock::TabViewer for TabViewer<'a> { +impl egui_dock::TabViewer for TabViewer<'_> { type Tab = CustomTab; fn title(&mut self, tab: &mut Self::Tab) -> WidgetText {