Skip to content

Commit

Permalink
chore: satisfy clippy::unused_qualifications
Browse files Browse the repository at this point in the history
  • Loading branch information
ErichDonGubler committed Jul 24, 2024
1 parent 723995d commit 65b6e15
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion wgpu-core/src/device/queue.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ impl<A: HalApi> Drop for Queue<A> {
fn drop(&mut self) {
resource_log!("Drop {}", self.error_ident());
// SAFETY: we never access `self.raw` beyond this point.
let queue = unsafe { std::mem::ManuallyDrop::take(&mut self.raw) };
let queue = unsafe { ManuallyDrop::take(&mut self.raw) };
self.device.release_queue(queue);
}
}
Expand Down
2 changes: 1 addition & 1 deletion wgpu-hal/src/dx12/device.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1816,7 +1816,7 @@ impl crate::Device for super::Device {
.allocations
.iter_mut()
.map(|alloc| wgt::AllocationReport {
name: std::mem::take(&mut alloc.name),
name: mem::take(&mut alloc.name),
offset: alloc.offset,
size: alloc.size,
})
Expand Down

0 comments on commit 65b6e15

Please sign in to comment.