Skip to content

Add Iterator::array_windows()#92394

Closed
rossmacarthur wants to merge 1 commit intorust-lang:masterfrom
rossmacarthur-forks:ft/array-windows
Closed

Add Iterator::array_windows()#92394
rossmacarthur wants to merge 1 commit intorust-lang:masterfrom
rossmacarthur-forks:ft/array-windows

Conversation

@rossmacarthur
Copy link
Copy Markdown
Contributor

@rossmacarthur rossmacarthur commented Dec 29, 2021

This has been similarly implemented as .tuple_windows() in itertools as Itertools::tuple_windows(). But it makes more sense with arrays since all elements are the same type.

I will update stability attributes with a tracking issue if accepted.

See also #92393

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants