diff --git a/crates/javy/tests/misc.rs b/crates/javy/tests/misc.rs index 42ba48d8..435a484b 100644 --- a/crates/javy/tests/misc.rs +++ b/crates/javy/tests/misc.rs @@ -12,7 +12,7 @@ fn string_keys_and_ref_counting() -> Result<()> { rt.context().with(|this| { let _: () = this - .eval_with_options(&*source, EvalOptions::default()) + .eval_with_options(*source, EvalOptions::default()) .inspect_err(|e| println!("{e}")) .expect("source evaluation to succeed"); });