In my test code with Rust I’m using a lot of
to_strings on my
&str types which I actually want to be
String. Is there a compiler plugin or other feature to automatically convert
&str types into
I’d prefer not to use macros, but are there any other suggestions for avoiding this problem entirely?