rust/library
bors 9e3e517446 Auto merge of #130829 - Urgau:option_array_transpose, r=ibraheemdev
Add `[Option<T>; N]::transpose`

This PR as a new unstable libs API, `[Option<T>; N]::transpose`, which permits going from `[Option<T>; N]` to `Option<[T; N]>`.

This new API doesn't have an ACP as it was directly asked by T-libs-api in https://github.com/rust-lang/rust/issues/97601#issuecomment-2372109119:

> [..] but it'd be trivial to provide a helper method `.transpose()` that turns array-of-Option into Option-of-array (**and we think that method should exist**; it already does for array-of-MaybeUninit).

r? libs
2024-10-02 04:31:15 +00:00
..
alloc Rollup merge of #130914 - compiler-errors:insignificant-dtor, r=Amanieu 2024-09-30 19:18:50 -04:00
backtrace@230570f2da
core Auto merge of #130829 - Urgau:option_array_transpose, r=ibraheemdev 2024-10-02 04:31:15 +00:00
panic_abort
panic_unwind library: Compute RUST_EXCEPTION_CLASS from native-endian bytes 2024-09-26 11:34:17 -07:00
portable-simd stabilize const_intrinsic_copy 2024-09-23 22:12:54 +02:00
proc_macro Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
profiler_builtins
rtstartup
rustc-std-workspace-alloc
rustc-std-workspace-core
rustc-std-workspace-std
std Auto merge of #131098 - GuillaumeGomez:rollup-kk74was, r=GuillaumeGomez 2024-10-01 16:32:19 +00:00
stdarch@ace72223a0 Fix up standard library intro 2024-09-23 09:21:39 -07:00
sysroot
test Dogfood feature(file_buffered) 2024-09-24 14:25:16 -07:00
unwind Use &raw in the standard library 2024-09-25 17:03:20 -07:00
windows_targets
Cargo.lock Update compiler_builtins to 0.1.130 2024-09-28 11:25:47 -04:00
Cargo.toml