aboutsummaryrefslogtreecommitdiff
path: root/exercises/069_comptime4.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/069_comptime4.zig
parent88886a37d9721763326ff80a7b2c127e4a8cb8ae (diff)
downloadziglings-f6de68a1f23722457a0432ce520da668a50b2132.tar.gz
ziglings-f6de68a1f23722457a0432ce520da668a50b2132.tar.bz2
ziglings-f6de68a1f23722457a0432ce520da668a50b2132.tar.xz
ziglings-f6de68a1f23722457a0432ce520da668a50b2132.zip
zig fmt
Diffstat (limited to 'exercises/069_comptime4.zig')
-rw-r--r--exercises/069_comptime4.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/exercises/069_comptime4.zig b/exercises/069_comptime4.zig
index 1cd3571..ecec2ee 100644
--- a/exercises/069_comptime4.zig
+++ b/exercises/069_comptime4.zig
@@ -13,14 +13,14 @@
//
const print = @import("std").debug.print;
-pub fn main() void {
+pub fn main() void {
// Here we declare arrays of three different types and sizes
// at compile time from a function call. Neat!
const s1 = makeSequence(u8, 3); // creates a [3]u8
const s2 = makeSequence(u32, 5); // creates a [5]u32
const s3 = makeSequence(i64, 7); // creates a [7]i64
- print("s1={any}, s2={any}, s3={any}\n", .{s1, s2, s3});
+ print("s1={any}, s2={any}, s3={any}\n", .{ s1, s2, s3 });
}
// This function is pretty wild because it executes at runtime