Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/ch05-03-method-syntax.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ name, they can have parameters and a return value, and they contain some code
that’s run when the method is called from somewhere else. Unlike functions,
methods are defined within the context of a struct (or an enum or a trait
object, which we cover in [Chapter 6][enums]<!-- ignore --> and [Chapter
17][trait-objects]<!-- ignore -->, respectively), and their first parameter is
18][trait-objects]<!-- ignore -->, respectively), and their first parameter is
always `self`, which represents the instance of the struct the method is being
called on.

Expand Down