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 @@ -49,7 +49,8 @@ transparentwrapper_extra = []
49
49
50
50
const_zeroed = [] # MSRV 1.75.0: support const `zeroed()`
51
51
52
- alloc_uninit = [] # MSRV 1.82.0: support `zeroed_*rc*`
52
+ # MSRV 1.82.0: support `zeroed_*rc*` when combined with `extern_crate_alloc`
53
+ alloc_uninit = []
53
54
54
55
# Do not use if you can avoid it, because this is **unsound**!!!!
55
56
unsound_ptr_pod_impl = []
@@ -73,6 +74,7 @@ latest_stable_rust = [
73
74
" must_cast" ,
74
75
" must_cast_extra" ,
75
76
" track_caller" ,
77
+ " transparentwrapper_extra" ,
76
78
" wasm_simd" ,
77
79
" zeroable_atomics" ,
78
80
" 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