bikesheddy opinion: to_owned is a superior way to convert from &str to String, and to_string is not great here.
-
-
that's why I just prefer String::from, removes some of the ambiguity
-
Has the same amount of wtf factor
- 3 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.