🎨 Drop a needless mut from the test of a queue's shared sinks
clippy -D warnings (unused_mut) refused the closure's binding: it is called, never reassigned, and captures nothing it changes.
This commit is contained in:
1 parent
a9abb0b2fb
commit
de23c2d374
1 file changed
+1
-1
@@ -1548,7 +1548,7 @@ fn a_queue_s_buffers_share_the_sinks_its_first_was_begun_with() {
|
||||
RGFX_STATUS_OK
|
||||
);
|
||||
let mut ring = QueueRing::new(&device, SUBMIT_OFF, COMPLETE_OFF, u64::from(RING_DATA));
|
||||
let mut completed = |ring: &mut QueueRing, cb: u64| {
|
||||
let completed = |ring: &mut QueueRing, cb: u64| {
|
||||
ring.send(&device, command_buffer(queue, cb));
|
||||
eventually(|| {
|
||||
platform.world().complete_all(CompleteOn::Caller);
|
||||
|
||||
Reference in new issue
Block a user