Merge pull request #333 from ratfactor/v3853
Revised exercises due to the changes of Zig version 0.11.0-dev.3853pull/2/head
commit
1070fe5b40
@ -1,4 +1,4 @@
|
|||||||
24c24
|
24c24
|
||||||
< const printable: [*:0]const u8 = ???;
|
< const printable: [*:0]const u8 = ???;
|
||||||
---
|
---
|
||||||
> const printable: [*:0]const u8 = @ptrCast([*:0]const u8, data);
|
> const printable: [*:0]const u8 = @ptrCast(data);
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
66c66
|
67c67
|
||||||
< var avg: []f64 = ???;
|
< var avg: []f64 = ???;
|
||||||
---
|
---
|
||||||
> var avg: []f64 = try allocator.alloc(f64, arr.len);
|
> var avg: []f64 = try allocator.alloc(f64, arr.len);
|
||||||
|
Loading…
Reference in New Issue