-
Notifications
You must be signed in to change notification settings - Fork 13.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
std::convert docs mention the "to" convention, but don't implement it #24712
Comments
Typo, I think. /cc @aturon |
I'd guess that |
Yes, this comment was left in from the initial implementation, which included What we found eventually was that bounding by |
The std::convert docs say:
(emphasis mine)
However, there isn't a
To
trait, and none ofAsMut
/AsRef
/From
/Into
implement ato
method. Not sure if this is a typo or an oversight resulting in a missing trait.The text was updated successfully, but these errors were encountered: