summaryrefslogtreecommitdiffstatshomepage
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
commit2e6afa058202caa5d7c0895c7da253e3937833e7 (patch)
tree079e653978243511b4d545dc3c72e3e74aec971a
parent5009b61030c9452fa4525e42a3dcc9b004a57cc7 (diff)
found a Zig enum with a method
-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