Open
Description
While std::convert::From
has very detailed high level documentation, the implementations often lack docs on how they work and use the default "performs the conversion" boilerplate.
This at least includes all String
methods, also, all integer conversions. Both of these can have interesting behaviour, especially in relation to each other. For example, the different allocation behaviour between From<Box<str>>
and From<&'a str>
is notable and hard to figure out from the source, as it goes through three layers of indirection.
Metadata
Assignees
Labels
Area: Documentation for any part of the project, including the compiler, standard library, and toolsCategory: An issue proposing an enhancement or a PR with one.Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.Call for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.Medium priorityRelevant to the library API team, which will review and decide on the PR/issue.