Skip to content

Commit

Permalink
chore: satisfy clippy::unused_qualification (#6712)
Browse files Browse the repository at this point in the history
  • Loading branch information
ErichDonGubler authored Dec 12, 2024
1 parent fdb6266 commit 727992e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions naga/src/back/pipeline_constants.rs
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ fn process_pending(
adjusted_global_expressions: &HandleVec<Expression, Handle<Expression>>,
) -> Result<(), PipelineConstantError> {
for (handle, ty) in module.types.clone().iter() {
if let crate::TypeInner::Array {
if let TypeInner::Array {
base,
size: crate::ArraySize::Pending(size),
stride,
Expand Down Expand Up @@ -253,7 +253,7 @@ fn process_pending(
handle,
crate::Type {
name: None,
inner: crate::TypeInner::Array {
inner: TypeInner::Array {
base,
size: crate::ArraySize::Constant(value),
stride,
Expand Down
4 changes: 2 additions & 2 deletions wgpu-core/src/command/ray_tracing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -290,8 +290,8 @@ impl Global {
let scratch_buffer_barrier = hal::BufferBarrier::<dyn hal::DynBuffer> {
buffer: scratch_buffer.raw(),
usage: hal::StateTransition {
from: hal::BufferUses::ACCELERATION_STRUCTURE_SCRATCH,
to: hal::BufferUses::ACCELERATION_STRUCTURE_SCRATCH,
from: BufferUses::ACCELERATION_STRUCTURE_SCRATCH,
to: BufferUses::ACCELERATION_STRUCTURE_SCRATCH,
},
};

Expand Down

0 comments on commit 727992e

Please sign in to comment.