Fill in placeholders

This commit is contained in:
Carol (Nichols || Goulding) 2016-11-23 09:33:38 -05:00
parent 014cddedf3
commit 9a7d42fda8
1 changed files with 2 additions and 2 deletions

View File

@ -304,7 +304,7 @@ rect1 is Rectangle {
There are a number of traits Rust has provided for us to use with the `derive`
annotation that can add useful behavior to our custom types. Those traits and
their behaviors are listed in Appendix XX. Well be covering how to implement
their behaviors are listed in Appendix C. Well be covering how to implement
these traits with custom behavior, as well as creating your own traits, in
Chapter 10.
@ -322,7 +322,7 @@ their name, they can take arguments and return values, and they contain some
code that gets run when theyre called from somewhere else. Methods are
different from functions, however, because theyre defined within the context
of a struct (or an enum or a trait object, which we will cover in Chapters 6
and XX respectively), and their first argument is always `self`, which
and 13, respectively), and their first argument is always `self`, which
represents the instance of the struct that the method is being called on.
### Defining Methods