From 021998f19378138ec9e5cc8826d69c5303a82961 Mon Sep 17 00:00:00 2001 From: "Carol (Nichols || Goulding)" Date: Mon, 26 Sep 2016 22:37:12 -0400 Subject: [PATCH] The word of the day is *string slice* --- src/ch08-02-strings.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ch08-02-strings.md b/src/ch08-02-strings.md index 19016e6..298009e 100644 --- a/src/ch08-02-strings.md +++ b/src/ch08-02-strings.md @@ -13,7 +13,7 @@ can seem difficult coming from other languages. Before we can dig into those aspects, we need to talk about what exactly we even mean by the word 'string'. Rust actually only has one string type in the -core language itself: `&str`. We talked about these string slices in Chapter 4: +core language itself: `&str`. We talked about *string slices* in Chapter 4: they're a reference to some UTF-8 encoded string data stored somewhere else. String literals, for example, are stored in the binary output of the program, and are therefore string slices.