Skip to content

Commit 48c0f59

Browse files
Remove repeated section and make file path generic
1 parent 6b26aae commit 48c0f59

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

src/doc/guide.md

+1-11
Original file line numberDiff line numberDiff line change
@@ -2754,19 +2754,9 @@ mod hello {
27542754

27552755
This will work:
27562756

2757-
```{notrust,ignore}
2758-
$ cargo build
2759-
Compiling modules v0.0.1 (file:///home/you/projects/modules)
2760-
$
2761-
```
2762-
2763-
Before we move on, let me show you one more Cargo command: `run`. `cargo run`
2764-
is kind of like `cargo build`, but it also then runs the produced exectuable.
2765-
Try it out:
2766-
27672757
```{notrust,ignore}
27682758
$ cargo run
2769-
Compiling modules v0.0.1 (file:///home/steve/tmp/modules)
2759+
Compiling modules v0.0.1 (file:///home/you/projects/modules)
27702760
Running `target/modules`
27712761
Hello, world!
27722762
$

0 commit comments

Comments
 (0)