Skip to content

Commit

Permalink
Fix clippy warnings from backporting
Browse files Browse the repository at this point in the history
  • Loading branch information
rtzoeller committed Dec 2, 2022
1 parent 17e8995 commit 8e2eef2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/sys/test_uio.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ fn test_writev() {
let read_res = read(reader, &mut read_buf[..]);
// Successful read
assert!(read_res.is_ok());
let read = read_res.ok().unwrap() as usize;
let read = read_res.ok().unwrap();
// Check we have read as much as we written
assert_eq!(read, written);
// Check equality of written and read data
Expand Down Expand Up @@ -249,7 +249,7 @@ fn test_process_vm_readv() {
}
let _ = write(w, b"\0");
let _ = close(w);
loop { let _ = pause(); }
loop { pause(); }
},
}
}

0 comments on commit 8e2eef2

Please sign in to comment.