Skip to content

Derive Copy for EitherOrBoth - #1122

Merged
phimuemue merged 1 commit into
rust-itertools:masterfrom
ronnodas:either_or_both_copy
Aug 20, 2026
Merged

Derive Copy for EitherOrBoth#1122
phimuemue merged 1 commit into
rust-itertools:masterfrom
ronnodas:either_or_both_copy

Conversation

@ronnodas

Copy link
Copy Markdown
Contributor

It's been missing since the original implementation but I see no reason it shouldn't be Copy when both A and B are.

@codecov

codecov Bot commented Aug 20, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.99%. Comparing base (6814180) to head (f3cd0cc).
⚠️ Report is 211 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1122      +/-   ##
==========================================
- Coverage   94.38%   93.99%   -0.40%     
==========================================
  Files          48       52       +4     
  Lines        6665     6679      +14     
==========================================
- Hits         6291     6278      -13     
- Misses        374      401      +27     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@phimuemue

Copy link
Copy Markdown
Member

Result implements Copy, too, so let's follow that. Thanks!

@phimuemue
phimuemue added this pull request to the merge queue Aug 20, 2026
Merged via the queue into rust-itertools:master with commit af6d17d Aug 20, 2026
9 of 14 checks passed
@ronnodas
ronnodas deleted the either_or_both_copy branch August 20, 2026 18:38
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