diff options
| author | Patrick Walton <pcwalton@mimiga.net> | 2013-01-11 21:01:42 -0800 |
|---|---|---|
| committer | Patrick Walton <pcwalton@mimiga.net> | 2013-01-17 11:50:20 -0800 |
| commit | f405e41d7a43ebd7fdd0fcd90f6e0542a5a6ccf6 (patch) | |
| tree | 62e7e079cb5998e833ec950e9525330a1dc1e9e8 /src/libsyntax/parse/comments.rs | |
| parent | 8bde2c1d6533bf693dbb6ae8105bb082ad0ff0fe (diff) | |
| download | rust-f405e41d7a43ebd7fdd0fcd90f6e0542a5a6ccf6.tar.gz rust-f405e41d7a43ebd7fdd0fcd90f6e0542a5a6ccf6.zip | |
librustc: Implement write guards for borrowing `@mut` to `&` or `&mut`. r=nmatsakis
Diffstat (limited to 'src/libsyntax/parse/comments.rs')
| -rw-r--r-- | src/libsyntax/parse/comments.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/parse/comments.rs b/src/libsyntax/parse/comments.rs index 0e101d54ba3..66c3111b309 100644 --- a/src/libsyntax/parse/comments.rs +++ b/src/libsyntax/parse/comments.rs @@ -160,7 +160,7 @@ fn consume_whitespace_counting_blank_lines(rdr: string_reader, comments: &mut ~[cmnt]) { while is_whitespace(rdr.curr) && !is_eof(rdr) { if rdr.col == CharPos(0u) && rdr.curr == '\n' { - push_blank_line_comment(rdr, comments); + push_blank_line_comment(rdr, &mut *comments); } bump(rdr); } |
