Skip to content

Commit

Permalink
fix clippy errors on github
Browse files Browse the repository at this point in the history
  • Loading branch information
Vecvec committed Dec 17, 2023
1 parent e0b6724 commit d66fcaa
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions wgpu-core/src/command/ray_tracing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@ impl<G: GlobalIdentityHandlerFactory> Global<G> {
#[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,
Expand Down Expand Up @@ -796,8 +796,8 @@ impl<G: GlobalIdentityHandlerFactory> Global<G> {
#[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,
Expand Down

0 comments on commit d66fcaa

Please sign in to comment.