array-init
array-init copied to clipboard
Safe wrapper for initializing arrays
1) Add 2 new functions: `async_array_init` and `try_async_array_init` 2) Improve performance of existing functions
This crate could add one or more functions which enable the initializing of arrays with `const` is possible. This means `const` init functions so that the arrays are initialized during...
`Iterator::collect` can collect an `Iterator` into a `Result`. It would be great if there was an `array_init::from_iter` equivalent to initialize a `Result` using such an iterator (maybe called `try_from_iter`). Since...
`CollectArray where T: IsArray`, so you can do `foo.iter().map().frob().collect::().into_inner()`
We should have real tests with real asserts, the doctests don't actually verify the contents.