diff --git a/experimental/transliterate/tests/cldr.rs b/experimental/transliterate/tests/cldr.rs index f8cdc8c1dab..133ac8ff8ed 100644 --- a/experimental/transliterate/tests/cldr.rs +++ b/experimental/transliterate/tests/cldr.rs @@ -12,11 +12,10 @@ include!("data/baked/mod.rs"); #[test] fn test_all_cldr() { - let mut in_order = - std::fs::read_dir("./tests/data/fixtures") - .unwrap() - .map(|x| x.unwrap().path()) - .collect::>(); + let mut in_order = std::fs::read_dir("./tests/data/fixtures") + .unwrap() + .map(|x| x.unwrap().path()) + .collect::>(); in_order.sort(); for path in in_order { if path.ends_with("_readme.txt") { diff --git a/utils/resb/examples/time_zone_rule.rs b/utils/resb/examples/time_zone_rule.rs index c70e20ff83d..945b0368548 100644 --- a/utils/resb/examples/time_zone_rule.rs +++ b/utils/resb/examples/time_zone_rule.rs @@ -147,7 +147,7 @@ pub struct ZoneInfo64<'a> { fn main() { let in_bytes = include_bytes!("./data/zoneinfo64.res"); - let out = resb::binary::from_bytes::(&*in_bytes) + let out = resb::binary::from_bytes::(&in_bytes) .expect("Error processing resource bundle file"); println!("{:#?}", out);