Skip to content

Commit

Permalink
Rollup merge of #25215 - acgtyrant:patch-2, r=alexcrichton
Browse files Browse the repository at this point in the history
Fix wrong radius valve from 0.0 to 1.0 as above
  • Loading branch information
Manishearth committed May 8, 2015
2 parents dd37250 + 962816b commit 55437b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/doc/trpl/method-syntax.md
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ struct CircleBuilder {
impl CircleBuilder {
fn new() -> CircleBuilder {
CircleBuilder { x: 0.0, y: 0.0, radius: 0.0, }
CircleBuilder { x: 0.0, y: 0.0, radius: 1.0, }
}
fn x(&mut self, coordinate: f64) -> &mut CircleBuilder {
Expand Down

0 comments on commit 55437b4

Please sign in to comment.