aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/exercises/047_methods.zig
diff options
context:
space:
mode:
Diffstat (limited to 'exercises/047_methods.zig')
-rw-r--r--exercises/047_methods.zig6
1 files changed, 3 insertions, 3 deletions
diff --git a/exercises/047_methods.zig b/exercises/047_methods.zig
index 048cfa0..a3ed220 100644
--- a/exercises/047_methods.zig
+++ b/exercises/047_methods.zig
@@ -10,7 +10,7 @@
// pub fn hello() void {
// std.debug.print("Foo says hello!\n", .{});
// }
-// }
+// };
//
// 2. A function that is a member of a struct is a "method" and is
// called with the "dot syntax" like so:
@@ -23,10 +23,10 @@
// const Bar = struct{
// number: u32,
//
-// pub fn printMe(self: *Bar) void {
+// pub fn printMe(self: Bar) void {
// std.debug.print("{}\n", .{self.number});
// }
-// }
+// };
//
// (Actually, you can name the first parameter anything, but
// please follow convention and use "self".)