diff options
| author | Chris Boesch <[email protected]> | 2023-11-21 15:22:36 +0100 |
|---|---|---|
| committer | Chris Boesch <[email protected]> | 2023-11-21 15:22:36 +0100 |
| commit | b0511bb3c7ac0293edbb68fc54fbd8eba27a5882 (patch) | |
| tree | b86b2d9f183722cefebec23e10408364aba969bb | |
| parent | 7679f93f688452b2236d20b49f92569b8d56e20d (diff) | |
| download | ziglings-b0511bb3c7ac0293edbb68fc54fbd8eba27a5882.tar.xz ziglings-b0511bb3c7ac0293edbb68fc54fbd8eba27a5882.zip | |
Fixed patch hunk
| -rw-r--r-- | patches/patches/067_comptime2.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/patches/patches/067_comptime2.patch b/patches/patches/067_comptime2.patch index 470c69f..adc6e64 100644 --- a/patches/patches/067_comptime2.patch +++ b/patches/patches/067_comptime2.patch @@ -1,5 +1,5 @@ ---- exercises/067_comptime2.zig 2023-10-03 22:15:22.125574535 +0200 -+++ answers/067_comptime2.zig 2023-10-05 20:04:07.146101899 +0200 +--- exercises/067_comptime2.zig 2023-11-21 14:36:12.080295365 +0100 ++++ answers/067_comptime2.zig 2023-11-21 15:11:50.814098876 +0100 @@ -35,7 +35,7 @@ // In this contrived example, we've decided to allocate some // arrays using a variable count! But something's missing... @@ -8,4 +8,4 @@ + comptime var count = 0; count += 1; - var a1: [count]u8 = .{'A'} ** count; + const a1: [count]u8 = .{'A'} ** count; |
