rust/library/core/src/array
burlinchen bca0c5f2a9 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.
2024-08-09 11:10:30 +08:00
..
ascii.rs Fix doc nits 2024-07-26 13:26:33 +01:00
drain.rs Allow canonicalizing the array::map loop in trusted cases 2023-02-04 16:44:51 -08:00
equality.rs Import the 2021 prelude in the core crate 2024-03-25 13:12:06 -07:00
iter.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
mod.rs fix: Ensure Guard's drop method is removed at opt-level=s for Copy types 2024-08-09 11:10:30 +08:00