From f9d48e8f1e7a9c02d8a7251e8228da0f90b6de69 Mon Sep 17 00:00:00 2001 From: Azriel Hoh Date: Sat, 19 Oct 2024 20:32:30 +1300 Subject: [PATCH] Address clippy lints. --- crate/rt_model/src/flow.rs | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/crate/rt_model/src/flow.rs b/crate/rt_model/src/flow.rs index d16bcd34..f0d76360 100644 --- a/crate/rt_model/src/flow.rs +++ b/crate/rt_model/src/flow.rs @@ -172,8 +172,7 @@ impl Flow { item_interaction_push .location_to() .iter() - .last() - .into_iter(), + .last(), ) .for_each(|item_location| { item_location_to_item_id_sets_insert( @@ -191,8 +190,7 @@ impl Flow { item_interaction_pull .location_server() .iter() - .last() - .into_iter(), + .last(), ) .for_each(|item_location| { item_location_to_item_id_sets_insert( @@ -368,8 +366,7 @@ impl Flow { item_interaction_push .location_to() .iter() - .last() - .into_iter(), + .last(), ) .for_each(|item_location| { item_location_to_item_id_sets_insert( @@ -387,8 +384,7 @@ impl Flow { item_interaction_pull .location_server() .iter() - .last() - .into_iter(), + .last(), ) .for_each(|item_location| { item_location_to_item_id_sets_insert(