diff options
author | Arya-Elfren <109028294+Arya-Elfren@users.noreply.github.com> | 2023-04-26 22:47:03 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-26 22:47:03 +0100 |
commit | 18f69f5634c7469042dc601e4c5609af9e0f382c (patch) | |
tree | 40d7c76bf38c05f93d8f65604d8a53a0d454d0c7 /exercises/058_quiz7.zig | |
parent | f83fe12dce1356ff7d3324de2a1798a71ed55f14 (diff) |
Clarify the methods syntax sugar & a bit more
I think it's a bit clearer to show exactly what the syntax sugar of methods is, because that's all it is. Every function in Zig is in a struct (files are structs after all) and methods just simplify their use.
I also thought we might use the explicit saturating subtraction as that is why the feature is in Zig.
Diffstat (limited to 'exercises/058_quiz7.zig')
0 files changed, 0 insertions, 0 deletions