Skip to content

Commit

Permalink
Change 'only difference' to 'main difference'. Fixes #1581.
Browse files Browse the repository at this point in the history
  • Loading branch information
carols10cents committed Jan 20, 2022
1 parent 76b1d01 commit 5bebc80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ch15-02-deref.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ reference; the dereference operator will work as shown in Listing 15-7:
<span class="caption">Listing 15-7: Using the dereference operator on a
`Box<i32>`</span>

The only difference between Listing 15-7 and Listing 15-6 is that here we set
The main difference between Listing 15-7 and Listing 15-6 is that here we set
`y` to be an instance of a box pointing to a copied value of `x` rather than a
reference pointing to the value of `x`. In the last assertion, we can use the
dereference operator to follow the box’s pointer in the same way that we did
Expand Down

0 comments on commit 5bebc80

Please sign in to comment.