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}"); } }