In a struct why must I use &str and a lifetime

Could you share the challenge description? Usually it's not necessary to use &str over String, unless you do some optimisation. Also, please pay attention to the pinned thread.

3 Likes