From 04d972906d05e6c27452e1ae35970c30e7cf6e6b Mon Sep 17 00:00:00 2001 From: Nick Cameron Date: Thu, 24 Dec 2015 10:54:37 +1300 Subject: Rebasing and review comments --- src/libsyntax/parse/parser.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libsyntax/parse/parser.rs') diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs index f31f24cf249..efd351a632d 100644 --- a/src/libsyntax/parse/parser.rs +++ b/src/libsyntax/parse/parser.rs @@ -749,7 +749,7 @@ impl<'a> Parser<'a> { pub fn parse_seq_to_before_gt_or_return(&mut self, sep: Option, mut f: F) - -> PResult<'a, (P<[T]>, bool)> where + -> PResult<'a, (P<[T]>, bool)> where F: FnMut(&mut Parser<'a>) -> PResult<'a, Option>, { let mut v = Vec::new(); -- cgit 1.4.1-3-g733a5