I love “rules of thumb” that let you do the job 90% of the time. This post by Steve Klabnik lays out some rules for &str beautifully.
https://steveklabnik.com/writing/when-should-i-use-string-vs-str/
[#]rust #softwaredevelopment
=> More informations about this toot | More toots from doowttam@social.lol
text/gemini
This content has been proxied by September (3851b).