mirror of
https://codeberg.org/ziglings/exercises.git
synced 2026-06-08 07:50:00 +00:00
Revised exercises due to the changes of Zig version 0.11.0-dev.3853
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user