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

Remove PartialEq bound from Experiment::new #7

Merged
merged 1 commit into from
Jan 12, 2021

Conversation

lilymara-onesignal
Copy link
Contributor

When constructing an experiment which will be used with run_result, we
don't want to constrain the Result type to be PartialEq. Most Error
types are not PartialEq. Since we still have the T: PartialEq bound on
the run function, we still have this enforced where it counts.

When constructing an experiment which will be used with `run_result`, we
don't want to constrain the Result type to be PartialEq. Most Error
types are not PartialEq. Since we still have the `T: PartialEq` bound on
the `run` function, we still have this enforced where it counts.
@lilymara-onesignal lilymara-onesignal merged commit 894f95b into main Jan 12, 2021
@lilymara-onesignal lilymara-onesignal deleted the remove-partialeq-on-constructor branch January 12, 2021 19:02
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.

2 participants