mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-28 02:57:37 +00:00
Update method-syntax.md
doc copy error r? @steveklabnik
This commit is contained in:
parent
04e0125a58
commit
9b455f1799
@ -197,7 +197,7 @@ impl CircleBuilder {
|
||||
}
|
||||
|
||||
fn y(&mut self, coordinate: f64) -> &mut CircleBuilder {
|
||||
self.x = coordinate;
|
||||
self.y = coordinate;
|
||||
self
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user