feat: add exercise involving lifetime elision#1719
feat: add exercise involving lifetime elision#1719sgasse wants to merge 1 commit intorust-lang:mainfrom
Conversation
|
Hey @shadows-withal ! Your talk yesterday at EuroRust inspired me to contribute this example 🙂 A colleague of mine asked for help with a much more cluttered real-life example of the same problem that he ran into. Hope it can be useful to others as well. |
0212875 to
f3729f1
Compare
f3729f1 to
5adf590
Compare
|
I integrated your suggestions and updated the wording to be more concrete. Could you take another look @shadows-withal ? |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
mo8it
left a comment
There was a problem hiding this comment.
I really like this exercise. It needs to be adapted to version 6 by adding a solution, adapting the info in info.toml, adding TODOs and removing the hint about getting a hint and I AM DONE.
|
OK nice, I will rebase and push an updated version 👍 |
5adf590 to
10a28ca
Compare
|
Thank you @mo8it for reading through this change - I recreated the example on top of latest Also, I may be missing something obvious here, but I was not able to test following the suggestions from
However, I get the following error in this case: Though |
No description provided.