Skip to content

Commit 8b8c014

Browse files
authored
docs: fix a typo
1 parent 8eb3a01 commit 8b8c014

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/primitives/array.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ at compile time, is part of their type signature `[T; length]`.
66

77
Slices are similar to arrays, but their length is not known at compile time.
88
Instead, a slice is a two-word object; the first word is a pointer to the data,
9-
the second word the length of the slice. The word size is the same as usize,
9+
the second word is the length of the slice. The word size is the same as usize,
1010
determined by the processor architecture, e.g. 64 bits on an x86-64. Slices can
1111
be used to borrow a section of an array and have the type signature `&[T]`.
1212

0 commit comments

Comments
 (0)