Skip to content

Commit a3b7ae2

Browse files
committed
devices/snd: Remove unnecessary .into_iter() call (clippy warning)
Signed-off-by: Matej Hrica <[email protected]>
1 parent 37b212e commit a3b7ae2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/devices/src/virtio/snd/worker.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -586,7 +586,7 @@ impl SndWorker {
586586
{
587587
self.streams.write().unwrap()[stream_id as usize]
588588
.buffers
589-
.extend(std::mem::take(&mut buffers).into_iter());
589+
.extend(std::mem::take(&mut buffers));
590590
state = IoState::Done;
591591
}
592592
IoState::Ready if descriptor.len as usize != size_of::<VirtioSoundPcmXfer>() => {

0 commit comments

Comments
 (0)