File tree 1 file changed +6
-6
lines changed
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -23,12 +23,12 @@ array with that item type including alignment padding. The size of a value is
23
23
always a multiple of its alignment. The size of a value can be checked with the
24
24
[ ` size_of_val ` ] function.
25
25
26
- Types where all values have the same size and alignment known at compile time
27
- implement the [ ` Sized ` ] trait and can be checked with the [ ` size_of ` ] and
28
- [ ` align_of ` ] functions. Types that are not [ ` Sized ` ] are known as [ dynamically
29
- sized types] . Since all values of a ` Sized ` type share the same size and
30
- alignment, we refer to those shared values as the size of the type and the
31
- alignment of the type respectively.
26
+ Types where all values have the same size and alignment, and both are known at
27
+ compile time, implement the [ ` Sized ` ] trait and can be checked with the
28
+ [ ` size_of ` ] and [ ` align_of ` ] functions. Types that are not [ ` Sized ` ] are known
29
+ as [ dynamically sized types] . Since all values of a ` Sized ` type share the same
30
+ size and alignment, we refer to those shared values as the size of the type and
31
+ the alignment of the type respectively.
32
32
33
33
## Primitive Data Layout
34
34
You can’t perform that action at this time.
0 commit comments