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

Revert "Accept references for set_contents" #61

Merged
merged 1 commit into from
Oct 12, 2023
Merged

Conversation

kchibisov
Copy link
Member

When using generic in a trait the trait becomes not object-safe forcing generics or static dispatch in a such code. For a crate like copypasta that's something we don't really want to, since it's usually self-contained and has different clipboard providers.

This reverts commit 10f1137.

@kchibisov kchibisov requested a review from chrisduerr October 12, 2023 17:22
CHANGELOG.md Outdated Show resolved Hide resolved
When using generic in a trait the trait becomes not object-safe forcing
generics or static dispatch in a such code. For a crate like copypasta
that's something we don't really want to, since it's usually
self-contained and has different clipboard providers.

This reverts commit 10f1137.
@kchibisov kchibisov merged commit a751ffc into master Oct 12, 2023
4 checks passed
@kchibisov kchibisov deleted the revert-content branch October 12, 2023 20:34
@yykamei
Copy link
Contributor

yykamei commented Oct 13, 2023

Sorry for bothering, and thank you for reverting the commit.

@chrisduerr
Copy link
Member

Should have been caught during review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants