rust/library/core/src/ptr
Dylan DPC d6ea99d2ed
Rollup merge of #103702 - WaffleLapkin:lift-sized-bounds-from-pointer-methods-where-applicable, r=m-ou-se
Lift `T: Sized` bounds from some `strict_provenance` pointer methods

This PR removes requirement for `T` (pointee type) to be `Sized` to call `pointer::{addr, expose_addr, with_addr, map_addr}`. These functions don't use `T`'s size, so there is no reason for them to require this. Updated public API:

cc ``@Gankra,`` #95228
r? libs-api
2023-01-18 15:55:36 +05:30
..
alignment.rs Update bootstrap cfg 2022-12-28 09:18:43 -05:00
const_ptr.rs Rollup merge of #103702 - WaffleLapkin:lift-sized-bounds-from-pointer-methods-where-applicable, r=m-ou-se 2023-01-18 15:55:36 +05:30
metadata.rs Update bootstrap cfg 2022-12-28 09:18:43 -05:00
mod.rs Remove various double spaces in source comments. 2023-01-14 17:22:04 +01:00
mut_ptr.rs Rollup merge of #103702 - WaffleLapkin:lift-sized-bounds-from-pointer-methods-where-applicable, r=m-ou-se 2023-01-18 15:55:36 +05:30
non_null.rs Rollup merge of #103702 - WaffleLapkin:lift-sized-bounds-from-pointer-methods-where-applicable, r=m-ou-se 2023-01-18 15:55:36 +05:30
unique.rs Implement core::ptr::Unique on top of NonNull 2022-04-14 19:35:40 +02:00