Skip to content

Commit

Permalink
Don't break on EndOfRecord
Browse files Browse the repository at this point in the history
  • Loading branch information
mschmo authored and BurntSushi committed Apr 7, 2017
1 parent 299658e commit 70a2782
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ fn main() {
loop {
match rdr.next_bytes() {
NextField::EndOfCsv => break,
NextField::EndOfRecord => { count += 1; break; }
NextField::EndOfRecord => { count += 1; }
NextField::Data(_) => {}
NextField::Error(err) => panic!(err),
}
Expand Down

0 comments on commit 70a2782

Please sign in to comment.