rust/library/core/src/ptr
Matthias Krüger a296693376
Rollup merge of #122492 - GrigorenkoPV:ptr_as_ref_unchecked, r=workingjubilee
Implement ptr_as_ref_unchecked

Implementation of #122034.

Prefixed the feature name with `ptr_` for clarity.

Linked const-unstability to #91822, so the post there should probably be updated to mentions the 3 new methods when/if this PR is merged.
2024-05-03 20:33:44 +02:00
..
alignment.rs Import the 2021 prelude in the core crate 2024-03-25 13:12:06 -07:00
const_ptr.rs Rollup merge of #122492 - GrigorenkoPV:ptr_as_ref_unchecked, r=workingjubilee 2024-05-03 20:33:44 +02:00
metadata.rs Step bootstrap cfgs 2024-05-01 22:19:11 -04:00
mod.rs Step bootstrap cfgs 2024-05-01 22:19:11 -04:00
mut_ptr.rs Rollup merge of #122492 - GrigorenkoPV:ptr_as_ref_unchecked, r=workingjubilee 2024-05-03 20:33:44 +02:00
non_null.rs Replace version placeholders for 1.79 2024-05-01 21:01:51 -04:00
unique.rs Add and use Unique::as_non_null_ptr 2024-02-08 19:56:30 -05:00