You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[T; N]::try_map is not implemented in the standard library, so a custom implementation is used, which requires maybe_uninit_uninit_array, maybe_uninit_array_assume_init and try_trait_v2: Tracking issue for array::try_map rust-lang/rust#79711
The implementation uses a number of unstable features, which have to be stabilized, before it can be published to crates.io.
[(); N].map(|_| None)
is used to initialize an array withNone
: Tracking Issue forarray_map
rust-lang/rust#75243ArrayMap::get_each_key_value_mut
requires[T; N]::each_mut
: Tracking Issue forarray_methods
rust-lang/rust#76118TryFromIterator
uses the "never-type" (!
) for an implementation, which can be replaced withcore::convert::Infallible
: never type stabilization rust-lang/lang-team#60[T; N]::try_map
is not implemented in the standard library, so a custom implementation is used, which requiresmaybe_uninit_uninit_array
,maybe_uninit_array_assume_init
andtry_trait_v2
: Tracking issue forarray::try_map
rust-lang/rust#79711stmt_expr_attributes
required for makingahash
optional in thearray_map
macro: Tracking issue for stmt_expr_attributes: Add attributes to expressions, etc. rust-lang/rust#15701The text was updated successfully, but these errors were encountered: