about summary refs log tree commit diff
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2015-05-09 00:37:45 +0530
committerManish Goregaokar <manishsmail@gmail.com>2015-05-09 00:37:45 +0530
commit55437b4a57d69e8411abb795ab02738e585932cd (patch)
tree783f719a1c3f75c2b64da47f25547f50e1a1b969
parentdd372506743183b824cbda0ec0177d0e85f31f42 (diff)
parent962816bc290fc67e083fcd2500125b68f9fdee2b (diff)
downloadrust-55437b4a57d69e8411abb795ab02738e585932cd.tar.gz
rust-55437b4a57d69e8411abb795ab02738e585932cd.zip
Rollup merge of #25215 - acgtyrant:patch-2, r=alexcrichton
Fix wrong radius valve from 0.0 to 1.0 as above
-rw-r--r--src/doc/trpl/method-syntax.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/trpl/method-syntax.md b/src/doc/trpl/method-syntax.md
index ed4e9dd359b..861357ebbdc 100644
--- a/src/doc/trpl/method-syntax.md
+++ b/src/doc/trpl/method-syntax.md
@@ -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 {