From 7ea12d972ff551ebbec78abff932790c2165520b Mon Sep 17 00:00:00 2001 From: Steve Klabnik Date: Tue, 26 Jan 2016 09:31:18 -0500 Subject: [PATCH] slight re-wording --- src/slices.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/slices.md b/src/slices.md index 19d9438e5..dcfee1776 100644 --- a/src/slices.md +++ b/src/slices.md @@ -2,8 +2,8 @@ So far, we’ve talked about types that have ownership, like `String`, and ones that don’t, like `&String`. There is a second kind of type which does not have -ownership: slices. Slices let you take a reference to a particular series of -elements in a collection, rather than the whole collection itself. +ownership: slices. Slices let you reference a contiguous sequence of elements +in a collection, rather than the whole collection itself. Here’s a small programming problem: write a function which takes a string, and returns the first word you find. If we don’t find a space in the string,