agent: resolve useless_conversion warning for Rust 1.95

Remove redundant `.into_iter()` call on `zip()` argument in
`multi_layer_erofs.rs`, as flagged by the new
`clippy::useless_conversion` lint in Rust 1.95.

Generated-by: IBM Bob
Signed-off-by: stevenhorsman <steven@uk.ibm.com>
This commit is contained in:
stevenhorsman
2026-06-30 06:21:48 -07:00
parent 67413c399f
commit 7ede239bd0

View File

@@ -319,7 +319,7 @@ pub async fn handle_multi_layer_erofs_group(
let futures: Vec<_> = erofs_storages
.iter()
.enumerate()
.zip(resolved_base_devs.into_iter())
.zip(resolved_base_devs)
.map(|((index, erofs), base_dev_path)| {
let lower_mount = lower_mount_paths[index].clone();
let sandbox = Arc::clone(sandbox);