@@ -1801,7 +1801,6 @@ Let's try compiling what Cargo gave us:
18011801``` {bash}
18021802$ cargo build
18031803 Compiling guessing_game v0.0.1 (file:///home/you/projects/guessing_game)
1804- $
18051804```
18061805
18071806Excellent! Open up your ` src/main.rs ` again. We'll be writing all of
@@ -1817,7 +1816,6 @@ $ cargo run
18171816 Compiling guessing_game v0.1.0 (file:/home/you/projects/guessing_game)
18181817 Running `target/guessing_game`
18191818Hello, world!
1820- $
18211819```
18221820
18231821Great! The ` run ` command comes in handy when you need to rapidly iterate on a project.
@@ -1962,7 +1960,6 @@ fn main() {
19621960``` {notrust,ignore}
19631961$ cargo build
19641962 Compiling guessing_game v0.0.1 (file:///home/you/projects/guessing_game)
1965- $
19661963```
19671964
19681965Excellent! Try running our new program a few times:
@@ -2298,7 +2295,6 @@ The secret number is: 17
22982295Please input your guess.
229922965
23002297Please input a number!
2301- $
23022298```
23032299
23042300Uh, what? But we did!
@@ -2365,7 +2361,6 @@ Please input your guess.
23652361 76
23662362You guessed: 76
23672363Too big!
2368- $
23692364```
23702365
23712366Nice! You can see I even added spaces before my guess, and it still figured
@@ -2454,7 +2449,6 @@ You win!
24542449Please input your guess.
24552450quit
24562451Please input a number!
2457- $
24582452```
24592453
24602454Ha! ` quit ` actually quits. As does any other non-number input. Well, this is
@@ -2771,7 +2765,6 @@ $ cargo run
27712765 Compiling modules v0.0.1 (file:///home/you/projects/modules)
27722766 Running `target/modules`
27732767Hello, world!
2774- $
27752768```
27762769
27772770Nice!
@@ -2923,7 +2916,6 @@ This should all compile as usual:
29232916``` {notrust,ignore}
29242917$ cargo build
29252918 Compiling modules v0.0.1 (file:///home/you/projects/modules)
2926- $
29272919```
29282920
29292921We've seen how the ` :: ` operator can be used to call into modules, but when
@@ -3097,7 +3089,6 @@ $ cargo run
30973089 Compiling testing v0.0.1 (file:///home/you/projects/testing)
30983090 Running `target/testing`
30993091Hello, world!
3100- $
31013092```
31023093
31033094Great. Rust's infrastructure supports tests in two sorts of places, and they're
@@ -3250,7 +3241,6 @@ running 1 test
32503241test foo ... ok
32513242
32523243test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured
3253- $
32543244```
32553245
32563246Nice! Our test passes, as we expected. Let's get rid of that warning for our ` main `
0 commit comments