From d66fcaa2434776e841ecf89ffe3d0bfa787817f9 Mon Sep 17 00:00:00 2001 From: Vecvec Date: Mon, 18 Dec 2023 10:58:10 +1300 Subject: [PATCH] fix clippy errors on github --- wgpu-core/src/command/ray_tracing.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/wgpu-core/src/command/ray_tracing.rs b/wgpu-core/src/command/ray_tracing.rs index ca0b71cd55..9d1707705e 100644 --- a/wgpu-core/src/command/ray_tracing.rs +++ b/wgpu-core/src/command/ray_tracing.rs @@ -105,8 +105,8 @@ impl Global { #[cfg(feature = "trace")] let blas_iter = trace_blas.iter().map(|x| { let geometries = match &x.geometries { - &crate::ray_tracing::TraceBlasGeometries::TriangleGeometries( - ref triangle_geometries, + crate::ray_tracing::TraceBlasGeometries::TriangleGeometries( + triangle_geometries, ) => { let iter = triangle_geometries.iter().map(|tg| BlasTriangleGeometry { size: &tg.size, @@ -796,8 +796,8 @@ impl Global { #[cfg(feature = "trace")] let blas_iter = trace_blas.iter().map(|x| { let geometries = match &x.geometries { - &crate::ray_tracing::TraceBlasGeometries::TriangleGeometries( - ref triangle_geometries, + crate::ray_tracing::TraceBlasGeometries::TriangleGeometries( + triangle_geometries, ) => { let iter = triangle_geometries.iter().map(|tg| BlasTriangleGeometry { size: &tg.size,