Skip to content

Commit 7cae106

Browse files
author
mtolman
committed
clarified comment
1 parent 0d4d550 commit 7cae106

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/zero_allocs/slice.zig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -333,6 +333,7 @@ pub const FieldParser = struct {
333333

334334
// Sometimes this gets the starting/ending bits wrong when an
335335
// escaped quote happens on a boundary
336+
// This code helps detect and correct those errors
336337
const quote_starts = quote_strings & ~(quote_strings << 1);
337338
const quote_ends = quote_strings & ~(quote_strings >> 1);
338339
const expected_starts = quote_starts & ~(self._state.prev_quote_ends >> (chunk_size - 1));

0 commit comments

Comments
 (0)