Skip to content

Commit 5209b61

Browse files
author
mtolman
committed
removed faulty check
1 parent 749a0f7 commit 5209b61

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/zero_allocs/slice.zig

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -347,11 +347,6 @@ pub const FieldParser = struct {
347347
self.err = CsvReadError.UnexpectedEndOfFile;
348348
return null;
349349
}
350-
351-
if (self._text[self._text.len - 1] == cr) {
352-
self.err = CsvReadError.InvalidLineEnding;
353-
return null;
354-
}
355350
}
356351

357352
const expected_end_seps = ((quote_ends << 1) | (self._state.prev_quote_ends >> (chunk_size - 1))) & (~quote_starts);

0 commit comments

Comments
 (0)