| author | |
| committer | |
| log | 552e8095ae62654d0ba7dffbc8e0e1dfb6499c9d |
| tree | 80b07906355b979c3944471d61b277d1923a174b |
| parent | a005b5f198827b15ee069839fb9dbb80e66daa06 |
1 files changed, 1 insertions(+), 1 deletions(-)
doc/docgen.zig+1-1| ... | ... | @@ -239,7 +239,7 @@ const Tokenizer = struct { |
| 239 | 239 | .line_start = 0, |
| 240 | 240 | .line_end = 0, |
| 241 | 241 | }; |
| 242 | for (self.buffer) |c, i| { | |
| 242 | for (self.buffer, 0..) |c, i| { | |
| 243 | 243 | if (i == token.start) { |
| 244 | 244 | loc.line_end = i; |
| 245 | 245 | while (loc.line_end < self.buffer.len and self.buffer[loc.line_end] != '\n') : (loc.line_end += 1) {} |