aboutsummaryrefslogtreecommitdiff
path: root/exercises/065_builtins2.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/065_builtins2.zig
parent88886a37d9721763326ff80a7b2c127e4a8cb8ae (diff)
downloadziglings-f6de68a1f23722457a0432ce520da668a50b2132.tar.gz
ziglings-f6de68a1f23722457a0432ce520da668a50b2132.tar.bz2
ziglings-f6de68a1f23722457a0432ce520da668a50b2132.tar.xz
ziglings-f6de68a1f23722457a0432ce520da668a50b2132.zip
zig fmt
Diffstat (limited to 'exercises/065_builtins2.zig')
-rw-r--r--exercises/065_builtins2.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/exercises/065_builtins2.zig b/exercises/065_builtins2.zig
index c9257ff..1532c2a 100644
--- a/exercises/065_builtins2.zig
+++ b/exercises/065_builtins2.zig
@@ -53,7 +53,7 @@ const Narcissus = struct {
};
pub fn main() void {
- var narcissus: Narcissus = Narcissus {};
+ var narcissus: Narcissus = Narcissus{};
// Oops! We cannot leave the 'me' and 'myself' fields
// undefined. Please set them here:
@@ -70,7 +70,7 @@ pub fn main() void {
// fix this call:
const T2 = narcissus.fetchTheMostBeautifulType();
- print("A {} loves all {}es. ", .{T1, T2});
+ print("A {} loves all {}es. ", .{ T1, T2 });
// His final words as he was looking in
// those waters he habitually watched