Skip to content

Commit 7815ef1

Browse files
authored
Removing ambiguity in type-layout.md
1 parent a8afdca commit 7815ef1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/type-layout.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ array with that item type including alignment padding. The size of a value is
2323
always a multiple of its alignment. The size of a value can be checked with the
2424
[`size_of_val`] function.
2525

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
26+
Types where all values have the same size and alignment (both known at compile
27+
time) implement the [`Sized`] trait and can be checked with the [`size_of`] and
2828
[`align_of`] functions. Types that are not [`Sized`] are known as [dynamically
2929
sized types]. Since all values of a `Sized` type share the same size and
3030
alignment, we refer to those shared values as the size of the type and the

0 commit comments

Comments
 (0)