We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bce3fde commit a826fe7Copy full SHA for a826fe7
library/core/src/field.rs
@@ -1,6 +1,6 @@
1
//! Field Reflection
2
3
-/// Type representing a field of a `struct`.
+/// Type representing a (possibly unaligned) field of a `struct` or tuple.
4
///
5
/// # Safety
6
@@ -22,7 +22,7 @@ pub unsafe trait UnalignedField: Sized {
22
const OFFSET: usize = crate::intrinsics::unaligned_field_offset::<Self>();
23
}
24
25
-/// Type representing an aligned field of a `struct`.
+/// Type representing an aligned field of a `struct` or tuple.
26
27
28
0 commit comments