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

ButtplugFutureStateShared: fix send/sync impl #234

Merged
merged 1 commit into from
Jan 1, 2021
Merged

ButtplugFutureStateShared: fix send/sync impl #234

merged 1 commit into from
Jan 1, 2021

Conversation

JOE1994
Copy link
Contributor

@JOE1994 JOE1994 commented Dec 31, 2020

Hello 🦀,
I had previously suggested a fix to the Send/Sync impl of ButtplugFutureStateShared in #225,
and the fix was made in 3199bd8 .

However @Qwaz pointed out in #225 (comment) that
part of the suggestion I had made was incorrect, and this PR is to make a follow-up fix.

After the fix, the requirement for ButtplugFutureStateShared<T> to be Sync becomes T: Send instead of T: Sync.
(via auto trait implementations)

Sorry for the mistake I made in my previous suggestion,
and thank you for reviewing this PR 👍

@CLAassistant
Copy link

CLAassistant commented Dec 31, 2020

CLA assistant check
All committers have signed the CLA.

@qdot qdot changed the base branch from master to dev January 1, 2021 19:57
@qdot
Copy link
Member

qdot commented Jan 1, 2021

Ok, thanks! Bringing this into dev and it should go out with the next bugfix release today.

I really need to sit down and get a handle on Sync/Send and my futures setup at some point. Just gotta finish firefighting first. :|

@qdot qdot closed this Jan 1, 2021
@qdot qdot reopened this Jan 1, 2021
@qdot qdot merged commit f1e687d into buttplugio:dev Jan 1, 2021
@JOE1994 JOE1994 deleted the sendsync_impl branch January 2, 2021 04:37
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.

3 participants