chore: satisfy clippy::unused_qualifications

This commit is contained in:
Erich Gubler 2024-07-24 10:34:25 -04:00
parent 723995d9a9
commit 65b6e15f0f
2 changed files with 2 additions and 2 deletions

View File

@ -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);
}
}

View File

@ -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,
})