diff options
author | Dave Gauer <dave@ratfactor.com> | 2021-05-13 19:48:13 -0400 |
---|---|---|
committer | Dave Gauer <dave@ratfactor.com> | 2021-05-13 19:48:13 -0400 |
commit | 1bf1f682fffc74d96b9516414e7c944e9fe09608 (patch) | |
tree | 2ae81ef92e8e9005775cc5af981e9a81a598d6f6 /exercises/047_methods.zig | |
parent | 00f525c80f8a7785852092af246b28fe8fac1893 (diff) | |
parent | 12361f938486eab36af12c33e73cda5acaf2fb0c (diff) | |
download | ziglings-1bf1f682fffc74d96b9516414e7c944e9fe09608.tar.gz ziglings-1bf1f682fffc74d96b9516414e7c944e9fe09608.tar.bz2 ziglings-1bf1f682fffc74d96b9516414e7c944e9fe09608.tar.xz ziglings-1bf1f682fffc74d96b9516414e7c944e9fe09608.zip |
Merge branch 'main' of github.com:ratfactor/ziglings into main
Diffstat (limited to 'exercises/047_methods.zig')
-rw-r--r-- | exercises/047_methods.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/exercises/047_methods.zig b/exercises/047_methods.zig index c8e5c17..dcc3e13 100644 --- a/exercises/047_methods.zig +++ b/exercises/047_methods.zig @@ -32,7 +32,7 @@ // with the "dot syntax", the instance will be automatically // passed as the "self" parameter: // -// const my_bar = Bar{ .number = 2000 }; +// var my_bar = Bar{ .number = 2000 }; // my_bar.printMe(); // prints "2000" // // Okay, you're armed. |