From ade50dd46241012e98711ee5f996fec1d3c97e5f Mon Sep 17 00:00:00 2001 From: microproofs Date: Wed, 15 Jan 2025 18:28:41 +0700 Subject: [PATCH] Clippy fix --- crates/uplc/src/optimize/shrinker.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/uplc/src/optimize/shrinker.rs b/crates/uplc/src/optimize/shrinker.rs index 5a4ef3ffd..b68c4c01d 100644 --- a/crates/uplc/src/optimize/shrinker.rs +++ b/crates/uplc/src/optimize/shrinker.rs @@ -1316,7 +1316,7 @@ impl Term { // So it costs more size to have them hoisted Term::Delay(e) if matches!(e.as_ref(), Term::Error) => true, // If it wraps a builtin with consts or arguments passed in then inline - Term::Lambda { .. } => arg_term.is_a_builtin_wrapper(&context), + Term::Lambda { .. } => arg_term.is_a_builtin_wrapper(context), // Inline smaller terms too Term::Constant(_) | Term::Var(_) | Term::Builtin(_) => true,