mirror of
https://codeberg.org/ziglings/exercises.git
synced 2026-06-09 16:39:58 +00: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