News for hackers. Stuff that matters.
Re:Welcome to Comprehensive Rust by britneybitch on Thursday December 22, 2022 @08:27AM (#34092982)
You could store a `RefCell<Option<T>>` in an `Rc` and set it to `Some(rc)` after creation.

Or you could use the recently-stabilized `new_cyclic` method: https://doc.rust-lang.org/std/rc/struct.Rc.html#method.new_c...

There are no comments on this comment yet.