Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Ensure
Guard
's drop
method is removed at opt-level=s
for `…
…Copy` types 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.
- Loading branch information