diff --git a/benches/benches.rs b/benches/benches.rs index 44126b1..6a5170d 100644 --- a/benches/benches.rs +++ b/benches/benches.rs @@ -50,8 +50,8 @@ fn bench_map_allocation(c: &mut Criterion) { } }, COUNT, - )) - }) + )); + }); }); } @@ -91,8 +91,8 @@ fn bench_set_allocation(c: &mut Criterion) { } }, COUNT, - )) - }) + )); + }); }); } @@ -109,8 +109,8 @@ fn bench_vec_no_clone_allocation(c: &mut Criterion) { ] }, COUNT, - )) - }) + )); + }); }); } diff --git a/tests/tests.rs b/tests/tests.rs index 0f1da57..08c8239 100644 --- a/tests/tests.rs +++ b/tests/tests.rs @@ -41,20 +41,20 @@ fn map2() { #[test] fn map_e1() { - let _: HashMap<&str, &dyn Debug> = map_e! { + drop::>(map_e! { "en" => &"Hello", "de" => &"Hallo", "fr" => &"Bonjour", "es" => &"Hola", - }; + }); } #[test] fn map_e2() { - let _: HashMap<&str, &dyn Debug> = map_e! { + drop::>(map_e! { "1" => &Dyn1, "2" => &Dyn2, - }; + }); } #[test] @@ -115,19 +115,19 @@ fn btree_map2() { #[test] fn btree_map_e1() { - let _: BTreeMap = btree_map_e! { + drop::>(btree_map_e! { 0 => &"a", 1 => &"b", 2 => &"c", - }; + }); } #[test] fn btree_map_e2() { - let _: BTreeMap<&str, &dyn Debug> = btree_map_e! { + drop::>(btree_map_e! { "1" => &Dyn1, "2" => &Dyn2, - }; + }); } #[test]