-
-
Notifications
You must be signed in to change notification settings - Fork 697
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: impl IntoClass for Cow<'_, str> (#3420)
I also thought about making the implementation more generic, for example over T: AsRef<str>, but that would change the associated types and be a breaking change it would also conflict with the `Option` impl due to the orphan rules. Maybe there is something to be done with Borrow or Deref in a future release?
- Loading branch information
Showing
1 changed file
with
58 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters