We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 814c7e5 + 6b65e95 commit 0896670Copy full SHA for 0896670
src/ch05-03-method-syntax.md
@@ -5,7 +5,7 @@ name, they can have parameters and a return value, and they contain some code
5
that’s run when the method is called from somewhere else. Unlike functions,
6
methods are defined within the context of a struct (or an enum or a trait
7
object, which we cover in [Chapter 6][enums]<!-- ignore --> and [Chapter
8
-17][trait-objects]<!-- ignore -->, respectively), and their first parameter is
+18][trait-objects]<!-- ignore -->, respectively), and their first parameter is
9
always `self`, which represents the instance of the struct the method is being
10
called on.
11
0 commit comments