Files
rust/compiler
Matthias Krüger 048794d624 Rollup merge of #114155 - Zalathar:once-cell, r=lcnr
Replace a lazy `RefCell<Option<T>>` with `OnceCell<T>`

This code was using `RefCell<Option<T>>` to manually implement lazy initialization. Now that we have `OnceCell` in the standard library, we can just use that instead.

In particular, this avoids a confusing doubly-nested option, because the value being lazily computed is itself an `Option<Symbol>`.
2023-07-28 19:51:16 +02:00
..
2023-05-02 10:45:16 -07:00
2023-07-03 07:20:51 +00:00
2023-07-23 23:39:04 +02:00
2023-07-02 21:02:31 +02:00
2023-07-19 16:37:09 +00:00
2023-07-03 13:51:54 -07:00