diff --git a/second-edition/nostarch/chapter04.md b/second-edition/nostarch/chapter04.md index 2ab3fd1d3..263e06565 100644 --- a/second-edition/nostarch/chapter04.md +++ b/second-edition/nostarch/chapter04.md @@ -596,6 +596,11 @@ without taking ownership of it. Figure 4-5 shows a diagram. Figure 4-5: `&String s` pointing at `String s1` +> Note: The opposite of referencing by using `&` is *dereferencing*, which is +> accomplished with the dereference operator, `*`. We’ll see some uses of the +> dereference operator in Chapter 8 and discuss details of dereferencing in +> Chapter 15. + Let’s take a closer look at the function call here: ``` diff --git a/second-edition/src/ch04-02-references-and-borrowing.md b/second-edition/src/ch04-02-references-and-borrowing.md index d89277c63..c5aa5ef2a 100644 --- a/second-edition/src/ch04-02-references-and-borrowing.md +++ b/second-edition/src/ch04-02-references-and-borrowing.md @@ -37,6 +37,11 @@ without taking ownership of it. Figure 4-5 shows a diagram. Figure 4-5: `&String s` pointing at `String s1` +> Note: The opposite of referencing by using `&` is *dereferencing*, which is +> accomplished with the dereference operator, `*`. We’ll see some uses of the +> dereference operator in Chapter 8 and discuss details of dereferencing in +> Chapter 15. + Let’s take a closer look at the function call here: ```rust