File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,8 @@ transparentwrapper_extra = []
47
47
48
48
const_zeroed = [] # MSRV 1.75.0: support const `zeroed()`
49
49
50
- alloc_uninit = [] # MSRV 1.82.0: support `zeroed_*rc*`
50
+ # MSRV 1.82.0: support `zeroed_*rc*` when combined with `extern_crate_alloc`
51
+ alloc_uninit = []
51
52
52
53
# Do not use if you can avoid it, because this is **unsound**!!!!
53
54
unsound_ptr_pod_impl = []
@@ -69,6 +70,7 @@ latest_stable_rust = [
69
70
" min_const_generics" ,
70
71
" must_cast" ,
71
72
" track_caller" ,
73
+ " transparentwrapper_extra" ,
72
74
" wasm_simd" ,
73
75
" zeroable_atomics" ,
74
76
" zeroable_maybe_uninit" ,
Original file line number Diff line number Diff line change @@ -438,7 +438,7 @@ pub fn from_bytes_mut<T: NoUninit + CheckedBitPattern>(s: &mut [u8]) -> &mut T {
438
438
/// Reads the slice into a `T` value.
439
439
///
440
440
/// ## Panics
441
- /// * This is like `try_pod_read_unaligned` but will panic on failure.
441
+ /// * This is like [ `try_pod_read_unaligned`] but will panic on failure.
442
442
#[ inline]
443
443
#[ cfg_attr( feature = "track_caller" , track_caller) ]
444
444
pub fn pod_read_unaligned < T : CheckedBitPattern > ( bytes : & [ u8 ] ) -> T {
You can’t perform that action at this time.
0 commit comments