Skip to content
This repository was archived by the owner on Oct 4, 2021. It is now read-only.

Commit 12292d5

Browse files
committed
memflow#4 clippy linted
1 parent 699c3f8 commit 12292d5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • memflow-daemon-connector/src

memflow-daemon-connector/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ async fn phys_read_raw_list(
192192
) -> Result<()> {
193193
let mut batch = Vec::new();
194194
let mut bytes_requested = 0usize;
195-
for d in data.into_iter() {
195+
for d in data.iter_mut() {
196196
bytes_requested += d.1.len();
197197
batch.push(d);
198198
if bytes_requested >= size::mb(1) {

0 commit comments

Comments
 (0)