mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-04 01:44:15 +00:00
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.