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

Derive more Implementations for RuleResult #217

Merged
merged 1 commit into from
Feb 12, 2020
Merged

Derive more Implementations for RuleResult #217

merged 1 commit into from
Feb 12, 2020

Conversation

dario23
Copy link

@dario23 dario23 commented Feb 11, 2020

This makes e.g. testing custom helpers returning RuleResults easier,
as we can just
assert_eq!(helper("foo"), RuleResult::Matched(3, expected)).

This makes e.g. testing custom helpers returning `RuleResult`s easier,
as we can just
`assert_eq!(helper("foo"), RuleResult::Matched(3, expected))`.
@kevinmehall kevinmehall merged commit 5e56a1d into kevinmehall:master Feb 12, 2020
@dario23 dario23 deleted the ruleresult-derive-more branch February 24, 2020 16: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.

2 participants