Closed
Description
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...
- Reduce duplication (thereby preventing drift between API surface area)
- Remove unstable traits
- Perhaps be simpler in terms of resolve
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