diff options
author | Dave Gauer <dave@ratfactor.com> | 2021-04-26 20:34:47 -0400 |
---|---|---|
committer | Dave Gauer <dave@ratfactor.com> | 2021-04-26 20:34:47 -0400 |
commit | fe6bf8948fd16b288fccf85f4f59d9d5925b14cc (patch) | |
tree | d6032ec6ca38d8f64964119c43206bbe177836f2 /exercises/048_methods2.zig | |
parent | 98f4f5476a965ccd04fa9b0b3c2e26d60d4a2652 (diff) | |
parent | faec1675caeb3be2e193ba4f765e7279e4a42bd3 (diff) | |
download | ziglings-fe6bf8948fd16b288fccf85f4f59d9d5925b14cc.tar.gz ziglings-fe6bf8948fd16b288fccf85f4f59d9d5925b14cc.tar.bz2 ziglings-fe6bf8948fd16b288fccf85f4f59d9d5925b14cc.tar.xz ziglings-fe6bf8948fd16b288fccf85f4f59d9d5925b14cc.zip |
Merge branch 'main' of github.com:ratfactor/ziglings into main
Diffstat (limited to 'exercises/048_methods2.zig')
-rw-r--r-- | exercises/048_methods2.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/exercises/048_methods2.zig b/exercises/048_methods2.zig index 9fa3d97..3ce6a6c 100644 --- a/exercises/048_methods2.zig +++ b/exercises/048_methods2.zig @@ -11,7 +11,7 @@ const Elephant = struct { // New Elephant methods! pub fn getTail(self: *Elephant) *Elephant { - return self.tail.?; // Remember, this is means "orelse unreachable" + return self.tail.?; // Remember, this means "orelse unreachable" } pub fn hasTail(self: *Elephant) bool { |