From ab6b6514038c4d280248e2371080d097dbe31be1 Mon Sep 17 00:00:00 2001 From: Jorge Aparicio Date: Fri, 2 Jan 2015 08:16:40 -0500 Subject: [PATCH] regex_macros: fix fallout --- src/libregex_macros/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libregex_macros/lib.rs b/src/libregex_macros/lib.rs index 0baa5e6c24f..ebd1cc7e166 100644 --- a/src/libregex_macros/lib.rs +++ b/src/libregex_macros/lib.rs @@ -603,7 +603,7 @@ fn wild_arm_expr(&self, body: P) -> ast::Arm { // Converts `xs` to a `[x1, x2, .., xN]` expression by calling `to_expr` // on each element in `xs`. fn vec_expr(&self, xs: It, mut to_expr: F) -> P where - It: Iterator, + It: Iterator, F: FnMut(&ExtCtxt, T) -> P, { let exprs = xs.map(|x| to_expr(self.cx, x)).collect(); -- 2.44.0