mirror of
https://github.com/martinvonz/jj.git
synced 2025-05-05 15:32:49 +00:00
templater: remove unneeded trait bound from build_lambda_expression()
This function just passes P down to the build_body() callback transparently.
This commit is contained in:
parent
deb4f1ba79
commit
577a484d1d
@ -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],
|
||||
|
Loading…
x
Reference in New Issue
Block a user