Skip to content

Commit f9d4e05

Browse files
authored
Merge pull request #3363 from vinsburg/patch-4
Clarified first slices paragraph
2 parents 162d540 + 82df41e commit f9d4e05

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/ch04-03-slices.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
## The Slice Type
22

3-
*Slices* let you reference a contiguous sequence of elements in a collection
4-
rather than the whole collection. A slice is a kind of reference, so it does
5-
not have ownership.
3+
*Slices* let you reference a contiguous sequence of elements in a
4+
[collection](ch08-00-common-collections.md) rather than the whole collection. A
5+
slice is a kind of reference, so it does not have ownership.
66

77
Here’s a small programming problem: write a function that takes a string of
88
words separated by spaces and returns the first word it finds in that string.

0 commit comments

Comments
 (0)