SIGN IN SIGN UP
rust-lang / rust UNCLAIMED

Empowering everyone to build reliable and efficient software.

0 0 65 Rust

Rollup merge of #139977 - Amanieu:select_unpredictable_drop, r=RalfJung

Fix drop handling in `hint::select_unpredictable`

This intrinsic doesn't drop the value that is not selected so this is manually done in the public function that wraps the intrinsic.
M
Matthias Krüger committed
dc2d273acdda2253badadc906de455c2aba69a62
Committed by GitHub <noreply@github.com> on 4/17/2025, 7:53:27 PM