mirror of
https://git.aramjonghu.dev/AramJonghu/ziglings.git
synced 2026-09-04 01:13:30 +02:00
Apply zig fmt to exercises
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
//
|
||||
const std = @import("std");
|
||||
|
||||
const NumError = error{ IllegalNumber };
|
||||
const NumError = error{IllegalNumber};
|
||||
|
||||
pub fn main() void {
|
||||
const stdout = std.io.getStdOut().writer();
|
||||
@@ -19,6 +19,6 @@ pub fn main() void {
|
||||
|
||||
// Just don't modify this function. It's "perfect" the way it is. :-)
|
||||
fn getNumber() NumError!u32 {
|
||||
if( false ) return NumError.IllegalNumber;
|
||||
if (false) return NumError.IllegalNumber;
|
||||
return 42;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user