Allow multiple inherent impls on primitive types #32631
Labels
C-feature-accepted
Category: A feature request that has been accepted pending implementation.
T-lang
Relevant to the language team, which will review and decide on the PR/issue.
T-libs-api
Relevant to the library API team, which will review and decide on the PR/issue.
In the standard library it's pretty unfortunate that we have to redefine all methods on string, slice, characters, and floating point types in libraries outside of libcore with an inherent methods. It's also unfortunate to have all the extension traits in libcore.
Let's just bite the bullet and allow multiple inherent impls on this type. It will...
We'll have to be sure to update rustdoc, however, to provide one unified view to the API surface area rather than multiple impl blocks.
cc @rust-lang/libs
The text was updated successfully, but these errors were encountered: