-
-
Notifications
You must be signed in to change notification settings - Fork 14.4k
Closed
Labels
I-needs-decisionIssue: In need of a decision.Issue: In need of a decision.
Milestone
Description
The method as_slice() in the core::str::Str trait should be renamed to as_str(). This avoids the name collision with core::slice::Vector.as_slice() for types that need to implement both Vector and Str (as I believe Vec<Ascii> should).
I'm filing this issue now to give a chance for anyone to suggest any reasons why this is a bad idea. Otherwise I will go ahead and make the change myself.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
I-needs-decisionIssue: In need of a decision.Issue: In need of a decision.