ratfactor / ziglings

Learn the Zig programming language by fixing tiny broken programs.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Exercise 48] Can anyone explain what is happening here?

terraquad opened this issue · comments

I was just doing Ziglings and I got stuck at exercise 48 because the compiler doesn't give a clear error message.
Screenshot 2023-09-08 102249
Please explain what went wrong. Thank you!

I got it, I wrote elephantC.tail = &elephantA; in line 40. I removed it and now it works!