It's a follow-up of [this discussion](https://github.com/rust-lang/rust/pull/134216#discussion_r1882612241) where @fmease suggested an improvement to the code. Assigning myself to do it. :)