Skip to content

Commit a826fe7

Browse files
committed
library: improve documentation
1 parent bce3fde commit a826fe7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

library/core/src/field.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//! Field Reflection
22
3-
/// Type representing a field of a `struct`.
3+
/// Type representing a (possibly unaligned) field of a `struct` or tuple.
44
///
55
/// # Safety
66
///
@@ -22,7 +22,7 @@ pub unsafe trait UnalignedField: Sized {
2222
const OFFSET: usize = crate::intrinsics::unaligned_field_offset::<Self>();
2323
}
2424

25-
/// Type representing an aligned field of a `struct`.
25+
/// Type representing an aligned field of a `struct` or tuple.
2626
///
2727
/// # Safety
2828
///

0 commit comments

Comments
 (0)