Skip to content

Commit bfaeac2

Browse files
committed
Add a comment on args_have_many_closure()
1 parent b17de62 commit bfaeac2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/expr.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2350,6 +2350,7 @@ where
23502350
}
23512351
}
23522352

2353+
/// Returns true if the given vector of arguments has more than one `ast::ExprKind::Closure`.
23532354
fn args_have_many_closure<T>(args: &[&T]) -> bool
23542355
where
23552356
T: ToExpr,

0 commit comments

Comments
 (0)