Skip to content

Commit 1169693

Browse files
committed
Auto merge of #24016 - aquach:master, r=Manishearth
Ran across this one while learning from the Book.
2 parents b8a0273 + c3b27be commit 1169693

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)