Dylan pfp
Dylan
@elffjs
Advice on which Rust string type to use. https://steveklabnik.com/writing/when-should-i-use-string-vs-str/
1 reply
33 recasts
35 reactions

HH pfp
HH
@hamud
when would you use &str in a struct?
1 reply
0 recast
0 reaction

Dylan pfp
Dylan
@elffjs
Someone on Lobsters brought up parsers. That makes sense to me. https://lobste.rs/s/pnjbgq/when_should_i_use_string_vs_str#c_vsaecq
0 reply
0 recast
1 reaction