summaryrefslogtreecommitdiffstatshomepage
path: root/exercises
diff options
context:
space:
mode:
authorDave Gauer <ratfactor@gmail.com>2021-08-30 17:55:10 -0400
committerGitHub <noreply@github.com>2021-08-30 17:55:10 -0400
commit065d409d0e6fd6a2e08847dca37eb4f2a879df6c (patch)
treeb91e346bcf861226607297b151419e608a16b1db /exercises
parente90042b95eb5dd9f7af62be1b54a899db8db4a8e (diff)
Update 047_methods.zig
Diffstat (limited to 'exercises')
-rw-r--r--exercises/047_methods.zig3
1 files changed, 3 insertions, 0 deletions
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: