Skip to content

Commit

Permalink
Clippy fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MicroProofs committed Jan 15, 2025
1 parent a9bedda commit ade50dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/uplc/src/optimize/shrinker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1316,7 +1316,7 @@ impl Term<Name> {
// 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,

Expand Down

0 comments on commit ade50dd

Please sign in to comment.