about summary refs log tree commit diff
path: root/library/alloc/src/vec/is_zero.rs
AgeCommit message (Expand)AuthorLines
2025-01-10alloc: remove unsound `IsZero` for raw pointersjoboet-13/+2
2024-10-25library: consistently use American spelling for 'behavior'Ralf Jung-1/+1
2024-02-22Use generic `NonZero` everywhere in `alloc`.Markus Reiter-32/+19
2023-01-18Update `IsZero` documentationclubby789-1/+2
2023-01-18Implement `alloc::vec::IsZero` for `Option<$NUM>` typesclubby789-0/+17
2023-01-14Remove various double spaces in source comments.André Vennberg-1/+1
2022-10-02Do the `calloc` optimization for `Option<bool>`Scott McMurray-0/+22
2022-09-02implement IsZero for Saturating and Wrappingasquared31415-0/+16
2022-07-24Support vec zero-alloc optimization for tuples and byte arraysAngelicosPhosphoros-4/+32
2022-05-01Tweak the calloc optimization to only apply to shortish-arraysScott McMurray-1/+8
2022-03-27Support arrays of zeros in Vec's __rust_alloc_zeroed optimizationScott McMurray-1/+8
2021-05-30Fix a typor00ster-1/+1
2021-05-26Enable Vec's calloc optimization for Option<NonZero>Scott McMurray-0/+33
2020-12-29style: applying Rust styleC-1/+1
2020-12-29refactor: moved IsZero into is_zero.rsC-0/+71