aboutsummaryrefslogtreecommitdiff
path: root/exercises/027_defer.zig
diff options
context:
space:
mode:
Diffstat (limited to 'exercises/027_defer.zig')
-rw-r--r--exercises/027_defer.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/exercises/027_defer.zig b/exercises/027_defer.zig
index b41e2af..68d0974 100644
--- a/exercises/027_defer.zig
+++ b/exercises/027_defer.zig
@@ -20,6 +20,6 @@ const std = @import("std");
pub fn main() void {
// Without changing anything else, please add a 'defer' statement
// to this code so that our program prints "One Two\n":
- std.debug.print("Two\n", .{});
+ defer std.debug.print("Two\n", .{});
std.debug.print("One ", .{});
}