diff --git a/doc/tutorial.md b/doc/tutorial.md index 34757edb4d1..9df646fbf91 100644 --- a/doc/tutorial.md +++ b/doc/tutorial.md @@ -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(); ~~~