Apply zig fmt to exercises
This commit is contained in:
parent
e58f155bd6
commit
2f821bd5e8
37 changed files with 152 additions and 144 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue