Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: impl BorshSchema for Cow<'a, T> #284

Merged
merged 4 commits into from
Feb 29, 2024
Merged

feat: impl BorshSchema for Cow<'a, T> #284

merged 4 commits into from
Feb 29, 2024

Conversation

dj8yfo
Copy link
Collaborator

@dj8yfo dj8yfo commented Feb 29, 2024

the pr follows up suggestion, made on Rc/Arc pr

dj8yf0μl added 3 commits February 29, 2024 19:38
…urn type variant for Cow

impl<'a, 'b, B, C> PartialEq<Cow<'b, C>> for Cow<'a, B>
where
    B: PartialEq<C> + ToOwned + ?Sized,
    C: ToOwned + ?Sized,
allowed to use `Cow::Borrowed` instead of `Cow::Owned`
@dj8yfo dj8yfo marked this pull request as ready for review February 29, 2024 19:10
@dj8yfo dj8yfo requested a review from frol as a code owner February 29, 2024 19:10
@dj8yfo dj8yfo merged commit 5f33c59 into master Feb 29, 2024
7 checks passed
@dj8yfo dj8yfo deleted the schema_for_cow branch February 29, 2024 19:52
@frol frol mentioned this pull request Feb 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants