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:
Erich Gubler committed 2024-11-25 03:36:18 -05:00
1 parent c22c062b54
commit ca410afb5f
1 file changed
+1 -1
+1 -1
View File
@@ -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();