From 02b6fc44e0cc2cf6cd4dfcbd0a38667d7e1d21a4 Mon Sep 17 00:00:00 2001 From: pjh456 <147148383@qq.com> Date: Fri, 14 Aug 2026 05:26:56 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E6=B8=85=E7=90=86=20oxide=5Ftest262?= =?UTF-8?q?=20clippy=20=E5=91=8A=E8=AD=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- crates/oxide_test262/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/oxide_test262/src/main.rs b/crates/oxide_test262/src/main.rs index 3f751d93..acb5fb78 100644 --- a/crates/oxide_test262/src/main.rs +++ b/crates/oxide_test262/src/main.rs @@ -535,7 +535,7 @@ fn run_test_inner( let compiler = if no_regalloc { Compiler::new().with_regalloc(false) } else { Compiler::new() }; let module = match if is_module { let mut loader = Test262ModuleLoader; - compiler.compile_module(&program, &path.to_string_lossy().to_string(), &mut loader) + compiler.compile_module(&program, path.to_string_lossy().as_ref(), &mut loader) } else { compiler.compile(&program) } {