mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-23 02:27:39 +03:00
cf031a3355
Replaces using `ResumeTy` / `get_context` in favor of using `&'static mut Context<'_>`. Usage of the `'static` lifetime here is technically "cheating", and replaces the raw pointer in `ResumeTy` and the `get_context` fn that pulls the correct lifetimes out of thin air.