| ... | ... | @@ -3462,7 +3462,7 @@ pub fn SplitIterator(comptime T: type, comptime delimiter_type: DelimiterType) t |
| 3462 | 3462 | |
| 3463 | 3463 | /// Returns a slice of the next field, or null if splitting is complete. |
| 3464 | 3464 | /// This method does not alter self.index. |
| 3465 | | pub fn peek(self: *Self) ?[]const T { |
| 3465 | pub fn peek(self: *const Self) ?[]const T { |
| 3466 | 3466 | const start = self.index orelse return null; |
| 3467 | 3467 | const end = if (switch (delimiter_type) { |
| 3468 | 3468 | .sequence => findPos(T, self.buffer, start, self.delimiter), |