Fixed patch hunk

This commit is contained in:
Chris Boesch 2023-11-21 15:22:36 +01:00
parent 7679f93f68
commit b0511bb3c7

View file

@ -1,5 +1,5 @@
--- exercises/067_comptime2.zig 2023-10-03 22:15:22.125574535 +0200 --- exercises/067_comptime2.zig 2023-11-21 14:36:12.080295365 +0100
+++ answers/067_comptime2.zig 2023-10-05 20:04:07.146101899 +0200 +++ answers/067_comptime2.zig 2023-11-21 15:11:50.814098876 +0100
@@ -35,7 +35,7 @@ @@ -35,7 +35,7 @@
// In this contrived example, we've decided to allocate some // In this contrived example, we've decided to allocate some
// arrays using a variable count! But something's missing... // arrays using a variable count! But something's missing...
@ -8,4 +8,4 @@
+ comptime var count = 0; + comptime var count = 0;
count += 1; count += 1;
var a1: [count]u8 = .{'A'} ** count; const a1: [count]u8 = .{'A'} ** count;