From bfaeac202af48a70e4a82d8ffb92fe85573af3a1 Mon Sep 17 00:00:00 2001 From: topecongiro Date: Fri, 3 Nov 2017 08:57:38 +0900 Subject: [PATCH] Add a comment on args_have_many_closure() --- src/expr.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/expr.rs b/src/expr.rs index 89cb29881bd3..09b9a4e622e1 100644 --- a/src/expr.rs +++ b/src/expr.rs @@ -2350,6 +2350,7 @@ where } } +/// Returns true if the given vector of arguments has more than one `ast::ExprKind::Closure`. fn args_have_many_closure(args: &[&T]) -> bool where T: ToExpr,