diff options
| author | Maxim Kolganov <kolganov.mv@gmail.com> | 2013-08-09 01:43:44 +0400 |
|---|---|---|
| committer | Maxim Kolganov <kolganov.mv@gmail.com> | 2013-08-09 01:43:44 +0400 |
| commit | b4fe85664536401e5ea68e6e7d1490b223843caa (patch) | |
| tree | 0d8dd41cf8fc29fef92afc8293e3762c6af32f25 | |
| parent | a0080f4e07891c89aa1f9851f8b0a3c754734fe8 (diff) | |
| download | rust-b4fe85664536401e5ea68e6e7d1490b223843caa.tar.gz rust-b4fe85664536401e5ea68e6e7d1490b223843caa.zip | |
typo in tutorial
| -rw-r--r-- | doc/tutorial.md | 2 |
1 files changed, 1 insertions, 1 deletions
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(); ~~~ |
