From f094c5de5aacf2e41798ad1dbe5e679e2fd05500 Mon Sep 17 00:00:00 2001 From: 2wenty1ne Date: Sun, 27 Oct 2024 13:20:47 +0100 Subject: [PATCH] Small comment and formatting changes --- Testat-Planer.zig | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Testat-Planer.zig b/Testat-Planer.zig index 682788b..e1dd41b 100644 --- a/Testat-Planer.zig +++ b/Testat-Planer.zig @@ -18,10 +18,10 @@ const testees:[]const []const u8 = &[_][] const u8 { "Gruppe I", "Gruppe J", }; +const number_of_testees: u64 = testees.len; -const number_of_testees: u64 = testees.len; // len von testees -const total_minutes: u64 = 190; // Gesamte Dauer in min -const pause_minutes: u64 = 5; // Länge der Pause zwischen 2 Testaten +const total_minutes: u64 = 190; +const pause_minutes: u64 = 5; pub fn main () !void { @@ -114,7 +114,7 @@ pub fn printPlan(ts: *Timestamp) !void { } } -// Check if a given array contains a given element +//? Check if a given array contains a given element pub fn arrayContains(arr: []u64, q: u64) bool { for (arr) |element| { if (element == q) {