Skip to content

Add doc alias "single" to "exactly_one" - #1125

Merged
phimuemue merged 1 commit into
rust-itertools:masterfrom
nicopap:add_single_exactly_one
Aug 31, 2026
Merged

Add doc alias "single" to "exactly_one"#1125
phimuemue merged 1 commit into
rust-itertools:masterfrom
nicopap:add_single_exactly_one

Conversation

@nicopap

@nicopap nicopap commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

"Single" seems like an obvious name for "exactly_one", so I feel like adding this alias makes it more discoverable.

It's notable that "single" doesn't appear in the documentation for exactly_one either.

I found a few issues that show that indeed this change might help people:

"Single" seems like an obvious name for "exactly_one", so I feel like
adding this alias makes it more discoverable.

It's notable that "single" doesn't appear in the documentation for
exactly_one either.
@codecov

codecov Bot commented Aug 31, 2026

Copy link
Copy Markdown

Codecov Report

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

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1125      +/-   ##
==========================================
- Coverage   94.38%   93.90%   -0.49%     
==========================================
  Files          48       52       +4     
  Lines        6665     6680      +15     
==========================================
- Hits         6291     6273      -18     
- Misses        374      407      +33     

☔ 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 phimuemue left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very good, indeed. Thanks.

@phimuemue
phimuemue added this pull request to the merge queue Aug 31, 2026
Merged via the queue into rust-itertools:master with commit eee0673 Aug 31, 2026
8 of 14 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.

2 participants