From 8d1c404dc1a8d850be1d395087cab3b4a834dae7 Mon Sep 17 00:00:00 2001 From: Takashi Kokubun Date: Mon, 10 Feb 2025 15:07:34 -0800 Subject: [PATCH] Fix #[warn(elided_named_lifetimes)] --- zjit/src/ir.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zjit/src/ir.rs b/zjit/src/ir.rs index 4387f659e4..7062d65b02 100644 --- a/zjit/src/ir.rs +++ b/zjit/src/ir.rs @@ -129,11 +129,11 @@ struct FunctionPrinter<'a> { } impl<'a> FunctionPrinter<'a> { - fn from(fun: &'a Function) -> FunctionPrinter { + fn from(fun: &'a Function) -> FunctionPrinter<'a> { FunctionPrinter { fun, display_snapshot: false } } - fn with_snapshot(fun: &'a Function) -> FunctionPrinter { + fn with_snapshot(fun: &'a Function) -> FunctionPrinter<'a> { FunctionPrinter { fun, display_snapshot: true } } }