From 6cb00467a5bd8d26cc83e9d337d1a659bff255c2 Mon Sep 17 00:00:00 2001 From: "Dylan M. Taylor" Date: Thu, 12 Nov 2026 07:49:33 -0500 Subject: [PATCH] craft-aaf: rustfmt the roundtrip comparison added in #1108 * craft-aaf: rustfmt the roundtrip comparison added in #1108 --- crates/aaf/src/roundtrip_tests.rs | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/crates/aaf/src/roundtrip_tests.rs b/crates/aaf/src/roundtrip_tests.rs index c45985f59..7ba6e993a 100644 --- a/crates/aaf/src/roundtrip_tests.rs +++ b/crates/aaf/src/roundtrip_tests.rs @@ -93,7 +93,15 @@ fn aaf_round_trips_the_edit_at_every_rate() { // what was read, written again, reads as the same edit (mob ids, and so source keys, are new; // a writer generates fresh format identifiers and never preserves `aaf_mob_id`) let again = read_clean(&aaf_bytes(&back, small), true); - let no_ids = |c: &[Composition]| c.iter().cloned().map(|mut c| { c.aaf_mob_id = None; c }).collect::>(); + let no_ids = |c: &[Composition]| { + c.iter() + .cloned() + .map(|mut c| { + c.aaf_mob_id = None; + c + }) + .collect::>() + }; assert_eq!((shape(&again), no_ids(&again.compositions)), (shape(&back), no_ids(&back.compositions)), "{rate}"); } }