Skip to content

Commit

Permalink
typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
shilangyu committed Dec 22, 2020
1 parent 653f49b commit 8350d9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/day22.zig
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ fn copyPlayers(players: *Players, p1Length: usize, p2Length: usize) !Players {
var p1 = std.ArrayList(usize).init(allocator);
try p1.ensureCapacity(p1Length);
var p2 = std.ArrayList(usize).init(allocator);
try p1.ensureCapacity(p2Length);
try p2.ensureCapacity(p2Length);

var i: usize = 0;
while (i < p1Length) : (i += 1) {
Expand Down

0 comments on commit 8350d9b

Please sign in to comment.