crosvm/io_uring/src
Daniel Verkamp b74d8df552 io_uring: use unsigned_abs() for isize -> usize
Fixes a new clippy lint:
<https://rust-lang.github.io/rust-clippy/master/index.html#cast_abs_to_unsigned>

We still need the cast to u32, since the other parts of the expression are
u32.

BUG=b:243677117
TEST=tools/clippy # with Rust 1.62

Change-Id: Ifb6176f310f3cc7377410c251142a0f062a1ddd4
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/3854969
Tested-by: Daniel Verkamp <dverkamp@chromium.org>
Commit-Queue: Daniel Verkamp <dverkamp@chromium.org>
Reviewed-by: Dennis Kempin <denniskempin@google.com>
2022-09-01 18:46:40 +00:00
..
bindings.rs Refactoring: Copy common/io_uring to io_uring 2022-03-21 19:52:56 +00:00
lib.rs doc: add a top-level comment to all crates 2022-05-06 20:46:57 +00:00
syscalls.rs Reformat imports 2022-07-28 00:15:50 +00:00
uring.rs io_uring: use unsigned_abs() for isize -> usize 2022-09-01 18:46:40 +00:00