aboutsummaryrefslogtreecommitdiff
path: root/exercises/048_methods2.zig
diff options
context:
space:
mode:
authorDave Gauer <dave@ratfactor.com>2021-03-16 11:00:12 -0400
committerDave Gauer <dave@ratfactor.com>2021-03-16 11:00:12 -0400
commit720a8aaac48d3aace15e41ada967cb82a901c85f (patch)
tree003123eb7b4bc246090506d76667db0be14e7a96 /exercises/048_methods2.zig
parent9e4339aae48dc2270435dc12b25c23eae418fbc1 (diff)
downloadziglings-720a8aaac48d3aace15e41ada967cb82a901c85f.tar.gz
ziglings-720a8aaac48d3aace15e41ada967cb82a901c85f.tar.bz2
ziglings-720a8aaac48d3aace15e41ada967cb82a901c85f.tar.xz
ziglings-720a8aaac48d3aace15e41ada967cb82a901c85f.zip
Enum submissions now closed in ex. 048
Diffstat (limited to 'exercises/048_methods2.zig')
-rw-r--r--exercises/048_methods2.zig10
1 files changed, 4 insertions, 6 deletions
diff --git a/exercises/048_methods2.zig b/exercises/048_methods2.zig
index 528b014..9fa3d97 100644
--- a/exercises/048_methods2.zig
+++ b/exercises/048_methods2.zig
@@ -61,17 +61,15 @@ fn visitElephants(first_elephant: *Elephant) void {
}
}
-// Bonus: Zig's enums can also have methods! Can you find
-// one in the wild? If you can, mention it along with your
-// 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!
+// Zig's enums can also have methods! This comment originally asked
+// if anyone could find instances of enum methods in the wild. The
+// first five pull requests were accepted and here they are:
//
// 1) drforester - I found one in the Zig source:
// https://github.com/ziglang/zig/blob/041212a41cfaf029dc3eb9740467b721c76f406c/src/Compilation.zig#L2495
//
// 2) bbuccianti - I found one!
-// https://github.com/ziglang/zig/blob/master/lib/std/debug.zig#L477
+// https://github.com/ziglang/zig/blob/6787f163eb6db2b8b89c2ea6cb51d63606487e12/lib/std/debug.zig#L477
//
// 3) GoldsteinE - Found many, here's one
// https://github.com/ziglang/zig/blob/ce14bc7176f9e441064ffdde2d85e35fd78977f2/lib/std/target.zig#L65