Skip to content

Fix typo in array_windows() - #1116

Open
ronnodas wants to merge 1 commit into
rust-itertools:masterfrom
ronnodas:array-windows-doc-typo
Open

Fix typo in array_windows()#1116
ronnodas wants to merge 1 commit into
rust-itertools:masterfrom
ronnodas:array-windows-doc-typo

Conversation

@ronnodas

@ronnodas ronnodas commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

The signs in the length were flipped, if the window is longer then there are fewer windows to yield. Now the formula also matches with the next remark about N == 0.

@codecov

codecov Bot commented Aug 7, 2026

Copy link
Copy Markdown

Codecov Report

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

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1116      +/-   ##
==========================================
- Coverage   94.38%   94.04%   -0.35%     
==========================================
  Files          48       52       +4     
  Lines        6665     6679      +14     
==========================================
- Hits         6291     6281      -10     
- Misses        374      398      +24     

☔ 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.

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.

1 participant