Files
rust/library
Matthias Krüger f40d8256eb Rollup merge of #149305 - tisonkun:oncecell-simplify, r=chenyukang
Simplify OnceCell Clone impl

Noticed when developing https://github.com/fast/mea/pull/79.

This may also apply to `OnceLock`. But unfortunately, we can't construct a completed `Once` beforehand.

Note that `OnceCell::from` is marked as [`rustc_const_unstable`](https://github.com/rust-lang/rust/issues/143773) so we don't need an extra `const fn from_value` to leverage possible const convert benefit.
2025-11-25 17:51:19 +01:00
..
2025-06-16 07:00:13 +00:00
2025-10-15 20:43:53 +02:00
2025-11-25 15:16:43 +08:00
2025-07-01 10:55:49 -07:00
2025-11-16 23:35:37 -05:00