mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-31 05:26:23 +03:00
bca0c5f2a9
Added `#[inline]` to the `drop` method in the `Guard` implementation to ensure that the method is removed by the compiler at optimization level `opt-level=s` for `Copy` types. This change aims to align the method's behavior with optimization expectations and ensure it does not affect performance.