Rebasing and review comments

This commit is contained in:
Nick Cameron 2015-12-24 10:54:37 +13:00
parent aaa02b3ff9
commit 04d972906d
6 changed files with 30 additions and 35 deletions

View file

@ -749,7 +749,7 @@ impl<'a> Parser<'a> {
pub fn parse_seq_to_before_gt_or_return<T, F>(&mut self,
sep: Option<token::Token>,
mut f: F)
-> PResult<'a, (P<[T]>, bool)> where
-> PResult<'a, (P<[T]>, bool)>
where F: FnMut(&mut Parser<'a>) -> PResult<'a, Option<T>>,
{
let mut v = Vec::new();