Y
Hacker News
new
|
ask
|
show
|
jobs
by
ahelwer
1894 days ago
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.