From b4fe85664536401e5ea68e6e7d1490b223843caa Mon Sep 17 00:00:00 2001 From: Maxim Kolganov Date: Fri, 9 Aug 2013 01:43:44 +0400 Subject: [PATCH] typo in tutorial --- doc/tutorial.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/tutorial.md b/doc/tutorial.md index 6e6b804aa9d..dc481d71438 100644 --- a/doc/tutorial.md +++ b/doc/tutorial.md @@ -2195,7 +2195,7 @@ use std::float::consts::pi; # impl Shape for CircleStruct { 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 mycircle: @Circle = concrete as @Circle; let nonsense = mycircle.radius() * mycircle.area(); ~~~