aboutsummaryrefslogtreecommitdiff
path: root/exercises
diff options
context:
space:
mode:
authorDavid Forester <d.raymond.forester@gmail.com>2021-03-04 19:55:26 -0600
committerGitHub <noreply@github.com>2021-03-04 19:55:26 -0600
commit4a6d22f226c91aebf21692d1b0ca7ceb98c9e89c (patch)
tree079e653978243511b4d545dc3c72e3e74aec971a /exercises
parent6d4d7556f820bdddc239cf4d78a59289e21e4f15 (diff)
downloadziglings-4a6d22f226c91aebf21692d1b0ca7ceb98c9e89c.tar.gz
ziglings-4a6d22f226c91aebf21692d1b0ca7ceb98c9e89c.tar.bz2
ziglings-4a6d22f226c91aebf21692d1b0ca7ceb98c9e89c.tar.xz
ziglings-4a6d22f226c91aebf21692d1b0ca7ceb98c9e89c.zip
found a Zig enum with a method
Diffstat (limited to 'exercises')
-rw-r--r--exercises/48_methods2.zig3
1 files changed, 3 insertions, 0 deletions
diff --git a/exercises/48_methods2.zig b/exercises/48_methods2.zig
index 37b182c..14192f6 100644
--- a/exercises/48_methods2.zig
+++ b/exercises/48_methods2.zig
@@ -66,3 +66,6 @@ fn visitElephants(first_elephant: *Elephant) void {
// name or alias in a comment below this one and make a
// pull request on GitHub for a piece of eternal Ziglings
// glory. The first five (5) PRs will be accepted!
+
+drforester - I found one in the Zig source. See link below:
+https://github.com/ziglang/zig/blob/041212a41cfaf029dc3eb9740467b721c76f406c/src/Compilation.zig#L2495