Skip to content

hybrid-array: rename ArrayExt to FromFn#1009

Merged
tarcieri merged 1 commit into
masterfrom
hybrid-array/rename-array-ext-to-from-fn
Dec 30, 2023
Merged

hybrid-array: rename ArrayExt to FromFn#1009
tarcieri merged 1 commit into
masterfrom
hybrid-array/rename-array-ext-to-from-fn

Conversation

@tarcieri

Copy link
Copy Markdown
Member

Also impls FromFn for Array.

Now that this trait has a single method, it can be renamed to match that single method's functionality.

It also changes the implementation to use core::array::from_fn now that it's stable.

Also impls `FromFn` for `Array`.

Now that this trait has a single method, it can be renamed to match that
single method's functionality.

It also changes the implementation to use `core::array::from_fn` now
that it's stable.
@tarcieri tarcieri merged commit 5669e29 into master Dec 30, 2023
@tarcieri tarcieri deleted the hybrid-array/rename-array-ext-to-from-fn branch December 30, 2023 23:45
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