cloud-hypervisor/block/src
Jinank Jain ea4693a091 misc: Fix clippy error from beta compiler
Rust has a new way of constructing other error and clippy complains if
we are still using the older way to construct error message. Thus,
migrate to the new approach suggested by the clippy.

Warning from beta compiler:

error: this can be `std::io::Error::other(_)`
--> block/src/vhdx/mod.rs:142:17
 |
 | /                 std::io::Error::new(
 | |                     std::io::ErrorKind::Other,
 | |                     format!("Failed to update VHDx header: {e}"),
 | |                 )
 | |_________________^
 |
 = help: for further information visit
https://rust-lang.github.io/rust-clippy/master/index.html#io_other_error
help: use `std::io::Error::other`

                 std::io::Error::other(
                     format!("Failed to update VHDx header: {e}"),

Signed-off-by: Jinank Jain <jinankjain@microsoft.com>
2025-04-03 13:11:49 +00:00
..
qcow misc: Fix clippy error from beta compiler 2025-04-03 13:11:49 +00:00
vhdx misc: Fix clippy error from beta compiler 2025-04-03 13:11:49 +00:00
async_io.rs misc: Adapt consistent import style formatting 2024-09-29 13:08:12 +01:00
fixed_vhd.rs misc: Adapt consistent import style formatting 2024-09-29 13:08:12 +01:00
fixed_vhd_async.rs misc: Adapt consistent import style formatting 2024-09-29 13:08:12 +01:00
fixed_vhd_sync.rs misc: Adapt consistent import style formatting 2024-09-29 13:08:12 +01:00
lib.rs block: increase the size of temporary vectors 2025-01-01 18:50:39 +00:00
qcow_sync.rs misc: Adapt consistent import style formatting 2024-09-29 13:08:12 +01:00
raw_async.rs block: drop the ASYNC flag from io_uring entries 2024-12-21 10:47:29 +00:00
raw_async_aio.rs misc: Adapt consistent import style formatting 2024-09-29 13:08:12 +01:00
raw_sync.rs misc: Adapt consistent import style formatting 2024-09-29 13:08:12 +01:00
vhd.rs misc: Adapt consistent import style formatting 2024-09-29 13:08:12 +01:00
vhdx_sync.rs misc: Adapt consistent import style formatting 2024-09-29 13:08:12 +01:00