diff options
| author | Nick Cameron <ncameron@mozilla.com> | 2015-12-24 10:54:37 +1300 |
|---|---|---|
| committer | Nick Cameron <ncameron@mozilla.com> | 2015-12-30 14:54:36 +1300 |
| commit | 04d972906d05e6c27452e1ae35970c30e7cf6e6b (patch) | |
| tree | 0261ceb0e0bd8f61282f57e1c142438c99c43f60 /src/libsyntax/parse | |
| parent | aaa02b3ff9401eeece5cd47f51a6b4c27ad63d93 (diff) | |
| download | rust-04d972906d05e6c27452e1ae35970c30e7cf6e6b.tar.gz rust-04d972906d05e6c27452e1ae35970c30e7cf6e6b.zip | |
Rebasing and review comments
Diffstat (limited to 'src/libsyntax/parse')
| -rw-r--r-- | src/libsyntax/parse/parser.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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<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(); |
