Skip to content

Commit c5df38e

Browse files
author
Alex Quach
committed
Fixing copy/paste typo.
1 parent 2615106 commit c5df38e

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)