Skip to content

Commit b4fe856

Browse files
committedAug 8, 2013
typo in tutorial
1 parent a0080f4 commit b4fe856

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

Diff for: ‎doc/tutorial.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2195,7 +2195,7 @@ use std::float::consts::pi;
21952195
# impl Shape for CircleStruct { fn area(&self) -> float { pi * square(self.radius) } }
21962196
21972197
let concrete = @CircleStruct{center:Point{x:3f,y:4f},radius:5f};
2198-
let mycircle: Circle = concrete as @Circle;
2198+
let mycircle: @Circle = concrete as @Circle;
21992199
let nonsense = mycircle.radius() * mycircle.area();
22002200
~~~
22012201

0 commit comments

Comments
 (0)
Please sign in to comment.