~tieong/ziglings

065d409d0e6fd6a2e08847dca37eb4f2a879df6c — Dave Gauer 2 years ago e90042b
Update 047_methods.zig
1 files changed, 3 insertions(+), 0 deletions(-)

M exercises/047_methods.zig
M exercises/047_methods.zig => exercises/047_methods.zig +3 -0
@@ 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: