Skip to content

Commit 9b455f1

Browse files
Update method-syntax.md
doc copy error r? @steveklabnik
1 parent 04e0125 commit 9b455f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/trpl/method-syntax.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ impl CircleBuilder {
197197
}
198198
199199
fn y(&mut self, coordinate: f64) -> &mut CircleBuilder {
200-
self.x = coordinate;
200+
self.y = coordinate;
201201
self
202202
}
203203

0 commit comments

Comments
 (0)