Skip to content

Commit

Permalink
Remove unnecessary variable
Browse files Browse the repository at this point in the history
  • Loading branch information
jedel1043 committed Apr 23, 2024
1 parent 166dbec commit 4dcdc7e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions provider/datagen/tests/test-options.rs
Original file line number Diff line number Diff line change
Expand Up @@ -218,14 +218,12 @@ fn export_to_map_1_5(
let mut exporter = TestingExporter::default();
driver.export(provider, &mut exporter).unwrap();

let results = exporter
exporter
.0
.into_tuple_vec()
.into_iter()
.map(|(data_locale, buffer)| (data_locale.write_to_string().into_owned(), buffer))
.collect();

results
.collect()
}

#[test]
Expand Down

0 comments on commit 4dcdc7e

Please sign in to comment.