From 2d723237db4fe0e7fc43ed1866c3e1952a1753ad Mon Sep 17 00:00:00 2001 From: Tshepang Lekhonkhobe Date: Sun, 24 Aug 2014 12:21:41 +0200 Subject: [PATCH 1/2] doc: use the more convenient 'cargo run' command This lovely command has already been introduced, so let's take advantage of it. --- src/doc/guide.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/doc/guide.md b/src/doc/guide.md index f1211c0788ee..ced88e9db00d 100644 --- a/src/doc/guide.md +++ b/src/doc/guide.md @@ -2682,9 +2682,9 @@ $ cargo new modules --bin Let's double check our work by compiling: ```{bash,ignore} -$ cargo build +$ cargo run Compiling modules v0.0.1 (file:///home/you/projects/modules) -$ ./target/modules + Running `target/modules` Hello, world! ``` From d89b2a5c3d8a1c83bd96f45d9848ccaebf4c5ec5 Mon Sep 17 00:00:00 2001 From: Tshepang Lekhonkhobe Date: Sat, 30 Aug 2014 08:02:40 +0200 Subject: [PATCH 2/2] doc: make docs build Addresses this comment: https://github.com/rust-lang/rust/pull/16721#issuecomment-53946624 --- src/doc/guide.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/doc/guide.md b/src/doc/guide.md index ced88e9db00d..98ea24aa4786 100644 --- a/src/doc/guide.md +++ b/src/doc/guide.md @@ -2681,7 +2681,7 @@ $ cargo new modules --bin Let's double check our work by compiling: -```{bash,ignore} +```{bash,notrust} $ cargo run Compiling modules v0.0.1 (file:///home/you/projects/modules) Running `target/modules`