From 63f25f7a73c7405087a1e6ac518c7caa58ac2826 Mon Sep 17 00:00:00 2001 From: Dave Gauer Date: Mon, 30 Aug 2021 17:55:10 -0400 Subject: Update 047_methods.zig --- exercises/047_methods.zig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/exercises/047_methods.zig b/exercises/047_methods.zig index dcc3e13..b967ab8 100644 --- a/exercises/047_methods.zig +++ b/exercises/047_methods.zig @@ -28,6 +28,9 @@ // } // } // +// (Actually, you can name the first parameter anything, but +// please follow convention and use "self".) +// // 4. Now when you call the method on an INSTANCE of that struct // with the "dot syntax", the instance will be automatically // passed as the "self" parameter: -- cgit v1.2.3-ZIG