Skip to content

Change array_from_fn signatures#90505

Closed
c410-f3r wants to merge 1 commit intorust-lang:masterfrom
c410-f3r:here-we-go-again
Closed

Change array_from_fn signatures#90505
c410-f3r wants to merge 1 commit intorust-lang:masterfrom
c410-f3r:here-we-go-again

Conversation

@c410-f3r
Copy link
Contributor

@c410-f3r c410-f3r commented Nov 2, 2021

Superseded by #91286

Implementation

These functions are using the same inner code of other array methods and such feature already ensures a reliable execution.

Signature

Originally, indices returned by the callback were introduced as auxiliary parameters since arrays are hereditary indexed and known at compile-time.

But due to #75644 (comment) and #75644 (comment), no index will be returned to avoid further concerns or discussions.

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

Labels

needs-fcp This change is insta-stable, or significant enough to need a team FCP to proceed. S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-libs Relevant to the library team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants