mirror of
https://github.com/gfx-rs/wgpu.git
synced 2026-04-22 03:02:01 -04:00
chore: satisfy clippy::assigning_clones
Started firing with Rust 1.78.0, but we can preempt it with our current MSRV.
This commit is contained in:
@@ -805,7 +805,7 @@ impl CommandBufferMutable {
|
||||
dependencies,
|
||||
} => {
|
||||
*action.tlas.built_index.write() = Some(*build_index);
|
||||
*action.tlas.dependencies.write() = dependencies.clone();
|
||||
action.tlas.dependencies.write().clone_from(dependencies);
|
||||
}
|
||||
crate::ray_tracing::TlasActionKind::Use => {
|
||||
let tlas_build_index = action.tlas.built_index.read();
|
||||
|
||||
Reference in New Issue
Block a user