Skip to content

Commit

Permalink
Remove repeated section and make file path generic
Browse files Browse the repository at this point in the history
  • Loading branch information
EduardoBautista committed Aug 19, 2014
1 parent 6b26aae commit 48c0f59
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions src/doc/guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -2754,19 +2754,9 @@ mod hello {

This will work:

```{notrust,ignore}
$ cargo build
Compiling modules v0.0.1 (file:///home/you/projects/modules)
$
```

Before we move on, let me show you one more Cargo command: `run`. `cargo run`
is kind of like `cargo build`, but it also then runs the produced exectuable.
Try it out:

```{notrust,ignore}
$ cargo run
Compiling modules v0.0.1 (file:///home/steve/tmp/modules)
Compiling modules v0.0.1 (file:///home/you/projects/modules)
Running `target/modules`
Hello, world!
$
Expand Down

5 comments on commit 48c0f59

@bors
Copy link
Contributor

@bors bors commented on 48c0f59 Aug 21, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bors
Copy link
Contributor

@bors bors commented on 48c0f59 Aug 21, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging EduardoBautista/rust/chapter-14-fixes = 48c0f59 into auto

@bors
Copy link
Contributor

@bors bors commented on 48c0f59 Aug 21, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

EduardoBautista/rust/chapter-14-fixes = 48c0f59 merged ok, testing candidate = 20b3313

@bors
Copy link
Contributor

@bors bors commented on 48c0f59 Aug 21, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fast-forwarding master to auto = 20b3313

Please sign in to comment.