rust/library/core
Guillaume Gomez c43a9ea146
Rollup merge of #130692 - RalfJung:result-flatten, r=Noratrieb
make unstable Result::flatten a const fn

This method is still unstable (tracked at https://github.com/rust-lang/rust/issues/70142), but there's no reason I can see for it not to be const -- after all, `Option::flatten` is const. So let's make the `Result` one `const` as well, under the same feature gate.

Cc https://github.com/rust-lang/rust/issues/70142
2024-09-22 19:19:16 +02:00
..
benches Improve isqrt tests and add benchmarks 2024-08-28 23:06:54 -04:00
src Rollup merge of #130692 - RalfJung:result-flatten, r=Noratrieb 2024-09-22 19:19:16 +02:00
tests Auto merge of #124895 - obeis:static-mut-hidden-ref, r=compiler-errors 2024-09-20 17:25:34 +00:00
Cargo.toml Port std library to RTEMS 2024-09-03 09:19:29 +02:00