`to_string()` vs `to_owned()` for string literals

Now that specialization for str::to_string() has landed, we can safely say that to_string() has the same performance as to_owned(), and thus to_string() should be used since it's more clear

40 Likes