Skip to content

Commit ab6b651

Browse files
author
Jorge Aparicio
committed
regex_macros: fix fallout
1 parent 9dd65dd commit ab6b651

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libregex_macros/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -603,7 +603,7 @@ fn exec<'t>(which: ::regex::native::MatchKind, input: &'t str,
603603
// Converts `xs` to a `[x1, x2, .., xN]` expression by calling `to_expr`
604604
// on each element in `xs`.
605605
fn vec_expr<T, It, F>(&self, xs: It, mut to_expr: F) -> P<ast::Expr> where
606-
It: Iterator<T>,
606+
It: Iterator<Item=T>,
607607
F: FnMut(&ExtCtxt, T) -> P<ast::Expr>,
608608
{
609609
let exprs = xs.map(|x| to_expr(self.cx, x)).collect();

0 commit comments

Comments
 (0)