Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(source): Remove bound
T: Clone
from Source
implementation fo…
…r `Cow`. (#42) This change removes the bound `T: Clone` in the implementation of `Source` for `Cow<'_, T>`. This expands the implementation of `Source` to include types like `Cow<'_, str>`. Importantly, `Cow` always requires the bound `T: ToOwned` and uses `ToOwned` to implement `Clone` rather than forwarding to `T::clone`.
- Loading branch information