aboutsummaryrefslogtreecommitdiff
path: root/exercises/072_comptime7.zig
diff options
context:
space:
mode:
authorDave Gauer <dave@ratfactor.com>2021-11-07 20:52:39 -0500
committerDave Gauer <dave@ratfactor.com>2021-11-07 20:52:39 -0500
commitd1e684126176214b65399034c96b6f52189b2b72 (patch)
tree5866b7f3a15945a73b946443fbd490fc8f4cc2d8 /exercises/072_comptime7.zig
parent266449b1dd8e5e89887aa84c2d10270cdd6c7936 (diff)
parentdedd787f2dd0badc03caa1299adaf57eaeaae156 (diff)
downloadziglings-d1e684126176214b65399034c96b6f52189b2b72.tar.gz
ziglings-d1e684126176214b65399034c96b6f52189b2b72.tar.bz2
ziglings-d1e684126176214b65399034c96b6f52189b2b72.tar.xz
ziglings-d1e684126176214b65399034c96b6f52189b2b72.zip
Merge branch 'main' of github.com:ratfactor/ziglings into main
Diffstat (limited to 'exercises/072_comptime7.zig')
-rw-r--r--exercises/072_comptime7.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/exercises/072_comptime7.zig b/exercises/072_comptime7.zig
index 06eb92e..147b935 100644
--- a/exercises/072_comptime7.zig
+++ b/exercises/072_comptime7.zig
@@ -49,7 +49,7 @@ pub fn main() void {
'*' => value *= digit,
else => unreachable,
}
- // ...But it's quite a bit more exciting than it first appears.
+ // ...But it's quite a bit more exciting than it first appears.
// The 'inline while' no longer exists at runtime and neither
// does anything else not touched directly by runtime
// code. The 'instructions' string, for example, does not
@@ -61,6 +61,6 @@ pub fn main() void {
// code at compile time. Guess we're compiler writers
// now. See? The wizard hat was justified after all.
}
-
+
print("{}\n", .{value});
}