Skip to content

Commit 2dda6d6

Browse files
committed
Formatting cleanup.
I had put a line break in to try to stress the binding of mycircle, but generated document looks cleaner without newline.
1 parent 6cabe2b commit 2dda6d6

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

doc/tutorial.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2219,7 +2219,6 @@ Likewise, supertrait methods may also be called on trait objects.
22192219
# impl CircleStruct: Shape { fn area(&self) -> float { pi * square(self.radius) } }
22202220
22212221
let concrete = @CircleStruct{center:Point{x:3f,y:4f},radius:5f};
2222-
22232222
let mycircle: Circle = concrete as @Circle;
22242223
let nonsense = mycircle.radius() * mycircle.area();
22252224
~~~

0 commit comments

Comments
 (0)