mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-28 03:07:24 +03:00
cd4ce66e50
alloc: fix `Debug` implementation of `ExtractIf` I noticed this while reviewing rust-lang/rust#141032. Calling `get` on the inner `Vec` never returns `Some` as the `Vec`'s length is temporarily set to zero while the `ExtractIf` exists.