From f684a8a56be054997c1df8807eac9d5cad221979 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marvin=20L=C3=B6bel?= Date: Tue, 19 Feb 2013 18:10:31 +0100 Subject: [PATCH] Mention rust tool in the tutorial --- doc/tutorial.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/doc/tutorial.md b/doc/tutorial.md index 9550dd927fa..895af6f1289 100644 --- a/doc/tutorial.md +++ b/doc/tutorial.md @@ -114,8 +114,9 @@ for more information on them. When complete, `make install` will place several programs into `/usr/local/bin`: `rustc`, the Rust compiler; `rustdoc`, the -API-documentation tool; `cargo`, the Rust package manager; -and `rusti`, the Rust REPL. +API-documentation tool; `rustpkg`, the Rust package manager; +`rusti`, the Rust REPL; and `rust`, a tool which acts as a unified way to +call them, either directly or with common command line arguments. [wiki-start]: https://github.com/mozilla/rust/wiki/Note-getting-started-developing-Rust [tarball]: http://static.rust-lang.org/dist/rust-0.5.tar.gz @@ -2184,7 +2185,7 @@ impl Circle for CircleStruct { } impl Shape for CircleStruct { fn area(&self) -> float { pi * square(self.radius) } -} +} ~~~~ Notice that methods of `Circle` can call methods on `Shape`, as our