diff options
| author | Dave Gauer <[email protected]> | 2021-03-16 11:00:12 -0400 |
|---|---|---|
| committer | Dave Gauer <[email protected]> | 2021-03-16 11:00:12 -0400 |
| commit | 6d60f7e33a049695aeb77945d6cb0b48a270b0d3 (patch) | |
| tree | 003123eb7b4bc246090506d76667db0be14e7a96 /exercises/048_methods2.zig | |
| parent | 33040bce0ca84117bb683d7a7ada7edd037d0a0e (diff) | |
| download | ziglings-6d60f7e33a049695aeb77945d6cb0b48a270b0d3.tar.xz ziglings-6d60f7e33a049695aeb77945d6cb0b48a270b0d3.zip | |
Enum submissions now closed in ex. 048
Diffstat (limited to 'exercises/048_methods2.zig')
| -rw-r--r-- | exercises/048_methods2.zig | 10 |
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 |
