You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The "To and from Strings"-section recommends implementing the ToString-trait directly 1. According to the docs, best practice is to not implement this trait directly, but rather to implement the fmt::Display trait.
Related, the section on the fmt::Display trait does not mention that implementing fmt::Display gives ToString for free.
I suggest to replace the "To String" section in "To and from Strings" with an example of this approach, and to include a link to this section from the existing section on fmt::Display.
Should I submit a pull-request to this effect, or have I missed something?