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

counters: implement Count for Option/Result #1640

Merged
merged 5 commits into from
Mar 7, 2024
Merged

Conversation

hawkw
Copy link
Member

@hawkw hawkw commented Mar 1, 2024

This commit adds implementations of the counters::Count trait for
Option<T> where T: Count and Result<T, E> where T: Count, E: Count.
Currently, we aren't using these anywhere, but we will be! :D

This commit adds implementations of the `counters::Count` trait for
`Option<T> where T: Count` and `Result<T, E> where T: Count, E: Count`.
Currently, we aren't using these anywhere, but we _will_ be! :D
@hawkw hawkw requested a review from cbiffle March 6, 2024 19:14
lib/counters/src/lib.rs Show resolved Hide resolved
lib/counters/src/lib.rs Show resolved Hide resolved
@hawkw hawkw merged commit 8caddf2 into master Mar 7, 2024
83 checks passed
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