Skip to content

Commit 94abe1d

Browse files
committed
Clarify size == stride
1 parent 564612e commit 94abe1d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

reference/src/layout/arrays-and-slices.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Layout of Rust array types and slices
22

3+
## Editor's Note
4+
5+
Issue #176 clarified that as of this writing, Rust does not distinguish between size and stride, ie
6+
they are always equal.
7+
38
## Layout of Rust array types
49

510
Array types, `[T; N]`, store `N` values of type `T` with a constant _stride_.

0 commit comments

Comments
 (0)