From 3a5fab14e98dcc3a240d53b2788f72a1ea8d54f8 Mon Sep 17 00:00:00 2001 From: Azriel Hoh Date: Sat, 19 Oct 2024 20:36:34 +1300 Subject: [PATCH] Run `cargo fmt --all`. --- crate/rt_model/src/flow.rs | 28 +++---------------- .../src/outcome_info_graph_calculator.rs | 4 +-- 2 files changed, 6 insertions(+), 26 deletions(-) diff --git a/crate/rt_model/src/flow.rs b/crate/rt_model/src/flow.rs index f0d76360..bdeb9078 100644 --- a/crate/rt_model/src/flow.rs +++ b/crate/rt_model/src/flow.rs @@ -168,12 +168,7 @@ impl Flow { .iter() .last() .into_iter() - .chain( - item_interaction_push - .location_to() - .iter() - .last(), - ) + .chain(item_interaction_push.location_to().iter().last()) .for_each(|item_location| { item_location_to_item_id_sets_insert( &mut item_location_to_item_id_sets, @@ -186,12 +181,7 @@ impl Flow { .iter() .last() .into_iter() - .chain( - item_interaction_pull - .location_server() - .iter() - .last(), - ) + .chain(item_interaction_pull.location_server().iter().last()) .for_each(|item_location| { item_location_to_item_id_sets_insert( &mut item_location_to_item_id_sets, @@ -362,12 +352,7 @@ impl Flow { .iter() .last() .into_iter() - .chain( - item_interaction_push - .location_to() - .iter() - .last(), - ) + .chain(item_interaction_push.location_to().iter().last()) .for_each(|item_location| { item_location_to_item_id_sets_insert( &mut item_location_to_item_id_sets, @@ -380,12 +365,7 @@ impl Flow { .iter() .last() .into_iter() - .chain( - item_interaction_pull - .location_server() - .iter() - .last(), - ) + .chain(item_interaction_pull.location_server().iter().last()) .for_each(|item_location| { item_location_to_item_id_sets_insert( &mut item_location_to_item_id_sets, diff --git a/crate/webi_output/src/outcome_info_graph_calculator.rs b/crate/webi_output/src/outcome_info_graph_calculator.rs index cd9eab30..26b45976 100644 --- a/crate/webi_output/src/outcome_info_graph_calculator.rs +++ b/crate/webi_output/src/outcome_info_graph_calculator.rs @@ -295,8 +295,8 @@ fn theme_styles_augment( // state to hide the node. e.g. a file download before // uploading it somewhere else. // - // * For clean, the successor's destination would be removed, but - // not its source. e.g. the upload would remove the + // * For clean, the successor's destination would be removed, + // but not its source. e.g. the upload would remove the // destination file, and not the source, which would later be // removed by the predecessor. //