mirror of
https://github.com/ziglang/zig.git
synced 2024-11-30 00:52:52 +00:00
std.fmt: Fix compile error in Parser.peek() (#20532)
Some checks are pending
ci / x86_64-linux-debug (push) Waiting to run
ci / x86_64-linux-release (push) Waiting to run
ci / aarch64-linux-debug (push) Waiting to run
ci / aarch64-linux-release (push) Waiting to run
ci / x86_64-macos-release (push) Waiting to run
ci / aarch64-macos-debug (push) Waiting to run
ci / aarch64-macos-release (push) Waiting to run
ci / x86_64-windows-debug (push) Waiting to run
ci / x86_64-windows-release (push) Waiting to run
ci / aarch64-windows (push) Waiting to run
Some checks are pending
ci / x86_64-linux-debug (push) Waiting to run
ci / x86_64-linux-release (push) Waiting to run
ci / aarch64-linux-debug (push) Waiting to run
ci / aarch64-linux-release (push) Waiting to run
ci / x86_64-macos-release (push) Waiting to run
ci / aarch64-macos-debug (push) Waiting to run
ci / aarch64-macos-release (push) Waiting to run
ci / x86_64-windows-debug (push) Waiting to run
ci / x86_64-windows-release (push) Waiting to run
ci / aarch64-windows (push) Waiting to run
This commit is contained in:
parent
c39ba682e3
commit
17a87d7341
@ -386,7 +386,7 @@ pub const Parser = struct {
|
||||
const original_i = self.iter.i;
|
||||
defer self.iter.i = original_i;
|
||||
|
||||
var i = 0;
|
||||
var i: usize = 0;
|
||||
var code_point: ?u21 = null;
|
||||
while (i <= n) : (i += 1) {
|
||||
code_point = self.iter.nextCodepoint();
|
||||
|
Loading…
Reference in New Issue
Block a user