Formatting cleanup.

I had put a line break in to try to stress the binding of mycircle,
but generated document looks cleaner without newline.
This commit is contained in:
Felix S. Klock II 2013-01-29 11:23:41 +01:00
parent 6cabe2b902
commit 2dda6d6f5d

View File

@ -2219,7 +2219,6 @@ Likewise, supertrait methods may also be called on trait objects.
# impl CircleStruct: Shape { fn area(&self) -> float { pi * square(self.radius) } }
let concrete = @CircleStruct{center:Point{x:3f,y:4f},radius:5f};
let mycircle: Circle = concrete as @Circle;
let nonsense = mycircle.radius() * mycircle.area();
~~~