Full threadtyilo·I use the `self_replace` crate for this: https://docs.rs/self-replace/latest/self_replace/View on HN