ziglings/patches/patches/052_slices.patch

11 lines
246 B
Diff

35,36c35,36
< const hand1: []u8 = cards[???];
< const hand2: []u8 = cards[???];
---
> const hand1: []u8 = cards[0..4];
> const hand2: []u8 = cards[4..];
46c46
< fn printHand(hand: ???) void {
---
> fn printHand(hand: []u8) void {