mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-25 00:03:29 +00:00
chore: satisfy clippy::unused_qualifications
This commit is contained in:
parent
723995d9a9
commit
65b6e15f0f
@ -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);
|
||||
}
|
||||
}
|
||||
|
@ -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,
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user