rust/library/core
Michael Goulet 0446a0d14b
Rollup merge of #137843 - Daniel-Aaron-Bloom:const_cell, r=oli-obk
make RefCell unstably const

Now that we can do interior mutability in `const`, most of the `RefCell` API can be `const fn`. The main exceptions are APIs which use `FnOnce` (`RefCell::replace_with` and `Ref[Mut]::[filter_]map[_split]`) and `RefCell::take` which calls `Default::default`.

Tracking issue: #137844
2025-06-26 20:15:17 -04:00
..
src Rollup merge of #137843 - Daniel-Aaron-Bloom:const_cell, r=oli-obk 2025-06-26 20:15:17 -04:00
Cargo.toml Add new Tier-3 targets: loongarch32-unknown-none* 2025-06-06 08:19:38 +08:00