ziglings/patches/patches/053_slices2.patch
Dave Gauer 0956f1839f "999 is enough for anybody" triple-zero padding (#18)
When I hit 999 exercises, I will finally have reached the ultimate
state of soteriological release and no more exercises will be needed.
The cycle will be complete. All that will be left is perfect quietude,
freedom, and highest happiness.
2021-03-12 18:59:46 -05:00

20 lines
770 B
Diff

20,22c20,22
< const base1: []u8 = scrambled[15..23];
< const base2: []u8 = scrambled[6..10];
< const base3: []u8 = scrambled[32..];
---
> const base1: []const u8 = scrambled[15..23];
> const base2: []const u8 = scrambled[6..10];
> const base3: []const u8 = scrambled[32..];
25,27c25,27
< const justice1: []u8 = scrambled[11..14];
< const justice2: []u8 = scrambled[0..5];
< const justice3: []u8 = scrambled[24..31];
---
> const justice1: []const u8 = scrambled[11..14];
> const justice2: []const u8 = scrambled[0..5];
> const justice3: []const u8 = scrambled[24..31];
33c33
< fn printPhrase(part1: []u8, part2: []u8, part3: []u8) void {
---
> fn printPhrase(part1: []const u8, part2: []const u8, part3: []const u8) void {