From 211f150ed82514bf5090dfaba45a41d240f9b69a Mon Sep 17 00:00:00 2001 From: jedel1043 Date: Fri, 20 Jan 2023 14:10:59 -0600 Subject: [PATCH] cargo clippy --- boa_gc/src/test/mod.rs | 2 +- boa_gc/src/test/weak.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/boa_gc/src/test/mod.rs b/boa_gc/src/test/mod.rs index 9ef9c88ff74..81aadb27f39 100644 --- a/boa_gc/src/test/mod.rs +++ b/boa_gc/src/test/mod.rs @@ -34,7 +34,7 @@ impl Harness { BOA_GC.with(|current| { let gc = current.borrow(); assert_eq!(gc.runtime.bytes_allocated, bytes); - }) + }); } } diff --git a/boa_gc/src/test/weak.rs b/boa_gc/src/test/weak.rs index 19cc28a72a5..2635565848b 100644 --- a/boa_gc/src/test/weak.rs +++ b/boa_gc/src/test/weak.rs @@ -166,7 +166,7 @@ fn eph_self_referential() { force_collect(); Harness::assert_exact_bytes_allocated(root_size); - }) + }); } #[test] @@ -216,5 +216,5 @@ fn eph_self_referential_chain() { force_collect(); Harness::assert_exact_bytes_allocated(root_size); - }) + }); }