diff options
Diffstat (limited to 'exercises/047_methods.zig')
-rw-r--r-- | exercises/047_methods.zig | 3 |
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: |