aboutsummaryrefslogtreecommitdiff
path: root/exercises/067_comptime2.zig
diff options
context:
space:
mode:
authorJonathan Halmen <jonathan@halmen.org>2021-11-05 17:37:12 +0100
committerJonathan Halmen <jonathan@halmen.org>2021-11-05 17:47:12 +0100
commitf6de68a1f23722457a0432ce520da668a50b2132 (patch)
treeb89a125af4973d0a7b40121298c8f4fd8e8c9988 /exercises/067_comptime2.zig
parent88886a37d9721763326ff80a7b2c127e4a8cb8ae (diff)
downloadziglings-f6de68a1f23722457a0432ce520da668a50b2132.tar.gz
ziglings-f6de68a1f23722457a0432ce520da668a50b2132.tar.bz2
ziglings-f6de68a1f23722457a0432ce520da668a50b2132.tar.xz
ziglings-f6de68a1f23722457a0432ce520da668a50b2132.zip
zig fmt
Diffstat (limited to 'exercises/067_comptime2.zig')
-rw-r--r--exercises/067_comptime2.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/exercises/067_comptime2.zig b/exercises/067_comptime2.zig
index 6299dd9..7d4bdb0 100644
--- a/exercises/067_comptime2.zig
+++ b/exercises/067_comptime2.zig
@@ -30,7 +30,7 @@
//
const print = @import("std").debug.print;
-pub fn main() void {
+pub fn main() void {
//
// In this contrived example, we've decided to allocate some
// arrays using a variable count! But something's missing...
@@ -49,7 +49,7 @@ pub fn main() void {
count += 1;
var a4: [count]u8 = .{'D'} ** count;
- print("{s} {s} {s} {s}\n", .{a1, a2, a3, a4});
+ print("{s} {s} {s} {s}\n", .{ a1, a2, a3, a4 });
// Builtin BONUS!
//