Update 047_methods.zig

pull/2/head
Dave Gauer 3 years ago committed by GitHub
parent e90042b95e
commit 065d409d0e

@ -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:

Loading…
Cancel
Save