File tree 1 file changed +5
-3
lines changed 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -1139,9 +1139,10 @@ mod simd {
1139
1139
/// A type with no alignment requirement.
1140
1140
///
1141
1141
/// An `Unalign` wraps a `T`, removing any alignment requirement. `Unalign<T>`
1142
- /// has the same size and ABI as `T`, but not necessarily the same alignment.
1143
- /// This is useful if a type with an alignment requirement needs to be read from
1144
- /// a chunk of memory which provides no alignment guarantees.
1142
+ /// has the same size and bit validity as `T`, but not necessarily the same
1143
+ /// alignment [or ABI]. This is useful if a type with an alignment requirement
1144
+ /// needs to be read from a chunk of memory which provides no alignment
1145
+ /// guarantees.
1145
1146
///
1146
1147
/// Since `Unalign` has no alignment requirement, the inner `T` may not be
1147
1148
/// properly aligned in memory. There are four ways to access the inner `T`:
@@ -1155,6 +1156,7 @@ mod simd {
1155
1156
/// - (where `T: Unaligned`) infallibly by reference, using [`Deref::deref`] or
1156
1157
/// [`DerefMut::deref_mut`]
1157
1158
///
1159
+ /// [or ABI]: https://github.com/google/zerocopy/issues/164
1158
1160
/// [`get`]: Unalign::get
1159
1161
/// [`into_inner`]: Unalign::into_inner
1160
1162
/// [`try_deref`]: Unalign::try_deref
You can’t perform that action at this time.
0 commit comments