RustCrypto / utils

Utility crates used in RustCrypto
428 stars 127 forks source link

hybrid-array: rename `ArrayExt` to `FromFn` #1009

Closed tarcieri closed 8 months ago

tarcieri commented 8 months ago

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.