Add 'from_ref' and 'from_mut' constructors to 'core::ptr::NonNull';

This commit is contained in:
Gabriel Bjørnager Jensen
2024-09-25 11:35:01 +02:00
parent 4c62024cd5
commit 94ab726c78
8 changed files with 97 additions and 68 deletions

View File

@@ -174,6 +174,7 @@
#![feature(isqrt)]
#![feature(lazy_get)]
#![feature(link_cfg)]
#![feature(non_null_from_ref)]
#![feature(offset_of_enum)]
#![feature(panic_internals)]
#![feature(ptr_alignment_type)]