From 099dbda4eef7e79c6b16c0c78b61318384d88f3f Mon Sep 17 00:00:00 2001 From: Iban Eguia Moraza Date: Tue, 3 Oct 2023 21:03:29 +0200 Subject: [PATCH] Removed non-needed as_ref() --- boa_tester/src/exec/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boa_tester/src/exec/mod.rs b/boa_tester/src/exec/mod.rs index 4102588ceaa..67938813d9f 100644 --- a/boa_tester/src/exec/mod.rs +++ b/boa_tester/src/exec/mod.rs @@ -76,7 +76,7 @@ impl TestSuite { let mut es_next = Statistics::default(); for test in &tests { - match (test.strict.as_ref(), test.no_strict.as_ref()) { + match (test.strict, test.no_strict) { (Some(TestOutcomeResult::Passed), None | Some(TestOutcomeResult::Passed)) | (None, Some(TestOutcomeResult::Passed)) => { versioned_stats.apply(test.edition, |stats| {