From 577a484d1d7bdbcbc6e01aab5e3ae2e36e5c983e Mon Sep 17 00:00:00 2001 From: Yuya Nishihara Date: Fri, 2 May 2025 16:52:20 +0900 Subject: [PATCH] templater: remove unneeded trait bound from build_lambda_expression() This function just passes P down to the build_body() callback transparently. --- cli/src/template_builder.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/src/template_builder.rs b/cli/src/template_builder.rs index 490c4b2dc..c0eb6c183 100644 --- a/cli/src/template_builder.rs +++ b/cli/src/template_builder.rs @@ -1419,7 +1419,7 @@ where /// Builds lambda expression to be evaluated with the provided arguments. /// `arg_fns` is usually an array of wrapped [`PropertyPlaceholder`]s. -fn build_lambda_expression<'a, 'i, P: IntoTemplateProperty<'a>, T>( +fn build_lambda_expression<'i, P, T>( build_ctx: &BuildContext<'i, P>, lambda: &LambdaNode<'i>, arg_fns: &[&'i dyn Fn() -> P],