Revised exercises due to the changes of Zig version 0.11.0-dev.3853

This commit is contained in:
Chris Boesch
2023-06-26 23:43:39 +02:00
parent c3aed336e7
commit a5a36337e8
11 changed files with 16 additions and 13 deletions

View File

@@ -204,7 +204,7 @@ pub fn main() void {
}
fn printTrip(trip: []?TripItem) void {
var i: u8 = @intCast(u8, trip.len);
var i: u8 = @intCast(trip.len);
while (i > 0) {
i -= 1;