Re:Rust is for Professionals
by ahelwer on Tuesday April 13, 2021 @02:44PM
(#26797100)
Thank you for this! the .as_ref() seems to solve a lot of the problems, since I guess just doing a straight .map() takes ownership of the contained string.
[ Parent
| on HN ]
There are no comments on this comment yet.