You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here's how I approached it: link (I put it in a gist to avoid spoilers.) In my solution I had to use lifetimes which hadn't been used up to this point in the exercises. I get the feeling there's another, more idiomatic approach that was intended by the author of the exercise.
Is there a preferred place to discuss solutions to rustlings? Or someplace that shows the most idiomatic solutions?
The text was updated successfully, but these errors were encountered:
I'm doing the exercises and I reached structs1.
Here's how I approached it: link (I put it in a gist to avoid spoilers.) In my solution I had to use lifetimes which hadn't been used up to this point in the exercises. I get the feeling there's another, more idiomatic approach that was intended by the author of the exercise.
Is there a preferred place to discuss solutions to rustlings? Or someplace that shows the most idiomatic solutions?
The text was updated successfully, but these errors were encountered: