mirror of
https://codeberg.org/ziglings/exercises.git
synced 2026-06-08 15:59:59 +00:00
Apply zig fmt to exercises
This commit is contained in:
@@ -17,8 +17,8 @@ pub fn main() void {
|
||||
|
||||
// Oh dear! This while loop will go forever!?
|
||||
// Please fix this so the print statement below gives the desired output.
|
||||
while (true) : (n+=1) {
|
||||
if(???) ???;
|
||||
while (true) : (n += 1) {
|
||||
if (???) ???;
|
||||
}
|
||||
|
||||
// Result: we want n=4
|
||||
|
||||
Reference in New Issue
Block a user