mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-28 20:16:58 +03:00
b8fa047398
Reduce code size of `thread::set_current` #123265 introduced a rather large binary size regression, because it added an `unwrap()` call on a `Result<(), Thread>`, which in turn pulled its rather heavy `Debug` implementation. This PR fixes this by readding the `rtassert!` that was removed.