Skip to content

Commit 82df41e

Browse files
committed
Ch. 4: include link forward to collections
Remove the additional, extraneous info from the Ch. 4. section 3 intro.
1 parent 3a8ff9b commit 82df41e

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/ch04-03-slices.md

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

3-
*Slices* are a kind of reference, which lets you access a contiguous sub-sequence
4-
of elements in a sequential [collection](ch08-00-common-collections.md).
5-
Because slices are a kind of reference, they too can borrow access to memory, but
6-
not own it.
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.
76

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

0 commit comments

Comments
 (0)