diff options
| author | Eduard Burtescu <edy.burt@gmail.com> | 2014-03-27 15:14:58 +0200 |
|---|---|---|
| committer | Eduard Burtescu <edy.burt@gmail.com> | 2014-03-28 18:28:03 +0200 |
| commit | 7cf4d8bc446177204e9e12b1efb199a5dbc956b5 (patch) | |
| tree | 4a9a3168062524f2d36875ee2964d7c203d3b55e /src/libsyntax/parse/parser.rs | |
| parent | b8601a3d8b91ad3b653d143307611f2f5c75617e (diff) | |
| download | rust-7cf4d8bc446177204e9e12b1efb199a5dbc956b5.tar.gz rust-7cf4d8bc446177204e9e12b1efb199a5dbc956b5.zip | |
Used inherited mutability in lexer::Reader.
Diffstat (limited to 'src/libsyntax/parse/parser.rs')
| -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 0ae43db8315..8038baebdcf 100644 --- a/src/libsyntax/parse/parser.rs +++ b/src/libsyntax/parse/parser.rs @@ -274,7 +274,7 @@ struct ParsedItemsAndViewItems { /* ident is handled by common.rs */ -pub fn Parser<'a>(sess: &'a ParseSess, cfg: ast::CrateConfig, rdr: ~Reader:) +pub fn Parser<'a>(sess: &'a ParseSess, cfg: ast::CrateConfig, mut rdr: ~Reader:) -> Parser<'a> { let tok0 = rdr.next_token(); let span = tok0.sp; |
