Skip to content

Commit

Permalink
doc: remove trailing shell prompts
Browse files Browse the repository at this point in the history
because eyesore
  • Loading branch information
tshepang committed Aug 24, 2014
1 parent 16d538c commit f4fb3ad
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/doc/guide.md
Expand Up @@ -1801,7 +1801,6 @@ Let's try compiling what Cargo gave us:
```{bash}
$ cargo build
Compiling guessing_game v0.0.1 (file:///home/you/projects/guessing_game)
$
```

Excellent! Open up your `src/main.rs` again. We'll be writing all of
Expand All @@ -1817,7 +1816,6 @@ $ cargo run
Compiling guessing_game v0.1.0 (file:/home/you/projects/guessing_game)
Running `target/guessing_game`
Hello, world!
$
```

Great! The `run` command comes in handy when you need to rapidly iterate on a project.
Expand Down Expand Up @@ -1962,7 +1960,6 @@ fn main() {
```{notrust,ignore}
$ cargo build
Compiling guessing_game v0.0.1 (file:///home/you/projects/guessing_game)
$
```

Excellent! Try running our new program a few times:
Expand Down Expand Up @@ -2298,7 +2295,6 @@ The secret number is: 17
Please input your guess.
5
Please input a number!
$
```

Uh, what? But we did!
Expand Down Expand Up @@ -2365,7 +2361,6 @@ Please input your guess.
76
You guessed: 76
Too big!
$
```

Nice! You can see I even added spaces before my guess, and it still figured
Expand Down Expand Up @@ -2454,7 +2449,6 @@ You win!
Please input your guess.
quit
Please input a number!
$
```

Ha! `quit` actually quits. As does any other non-number input. Well, this is
Expand Down Expand Up @@ -2771,7 +2765,6 @@ $ cargo run
Compiling modules v0.0.1 (file:///home/you/projects/modules)
Running `target/modules`
Hello, world!
$
```

Nice!
Expand Down Expand Up @@ -2923,7 +2916,6 @@ This should all compile as usual:
```{notrust,ignore}
$ cargo build
Compiling modules v0.0.1 (file:///home/you/projects/modules)
$
```

We've seen how the `::` operator can be used to call into modules, but when
Expand Down Expand Up @@ -3097,7 +3089,6 @@ $ cargo run
Compiling testing v0.0.1 (file:///home/you/projects/testing)
Running `target/testing`
Hello, world!
$
```

Great. Rust's infrastructure supports tests in two sorts of places, and they're
Expand Down Expand Up @@ -3250,7 +3241,6 @@ running 1 test
test foo ... ok
test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured
$
```

Nice! Our test passes, as we expected. Let's get rid of that warning for our `main`
Expand Down

21 comments on commit f4fb3ad

@bors
Copy link
Contributor

@bors bors commented on f4fb3ad Aug 25, 2014

Choose a reason for hiding this comment

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

saw approval from alexcrichton
at tshepang@f4fb3ad

@bors
Copy link
Contributor

@bors bors commented on f4fb3ad Aug 25, 2014

Choose a reason for hiding this comment

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

merging tshepang/rust/trailing-prompt = f4fb3ad into auto

@bors
Copy link
Contributor

@bors bors commented on f4fb3ad Aug 25, 2014

Choose a reason for hiding this comment

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

tshepang/rust/trailing-prompt = f4fb3ad merged ok, testing candidate = 6ffa41f2

@bors
Copy link
Contributor

@bors bors commented on f4fb3ad Aug 25, 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 f4fb3ad Aug 25, 2014

Choose a reason for hiding this comment

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

saw approval from alexcrichton
at tshepang@f4fb3ad

@bors
Copy link
Contributor

@bors bors commented on f4fb3ad Aug 25, 2014

Choose a reason for hiding this comment

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

merging tshepang/rust/trailing-prompt = f4fb3ad into auto

@bors
Copy link
Contributor

@bors bors commented on f4fb3ad Aug 25, 2014

Choose a reason for hiding this comment

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

tshepang/rust/trailing-prompt = f4fb3ad merged ok, testing candidate = 20454c15

@bors
Copy link
Contributor

@bors bors commented on f4fb3ad Aug 25, 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 f4fb3ad Aug 25, 2014

Choose a reason for hiding this comment

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

saw approval from alexcrichton
at tshepang@f4fb3ad

@bors
Copy link
Contributor

@bors bors commented on f4fb3ad Aug 25, 2014

Choose a reason for hiding this comment

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

merging tshepang/rust/trailing-prompt = f4fb3ad into auto

@bors
Copy link
Contributor

@bors bors commented on f4fb3ad Aug 25, 2014

Choose a reason for hiding this comment

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

tshepang/rust/trailing-prompt = f4fb3ad merged ok, testing candidate = c1bc25ae

@bors
Copy link
Contributor

@bors bors commented on f4fb3ad Aug 25, 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 f4fb3ad Aug 25, 2014

Choose a reason for hiding this comment

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

saw approval from alexcrichton
at tshepang@f4fb3ad

@bors
Copy link
Contributor

@bors bors commented on f4fb3ad Aug 25, 2014

Choose a reason for hiding this comment

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

merging tshepang/rust/trailing-prompt = f4fb3ad into auto

@bors
Copy link
Contributor

@bors bors commented on f4fb3ad Aug 25, 2014

Choose a reason for hiding this comment

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

tshepang/rust/trailing-prompt = f4fb3ad merged ok, testing candidate = 28c1484a

@bors
Copy link
Contributor

@bors bors commented on f4fb3ad Aug 26, 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 f4fb3ad Aug 26, 2014

Choose a reason for hiding this comment

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

saw approval from alexcrichton
at tshepang@f4fb3ad

@bors
Copy link
Contributor

@bors bors commented on f4fb3ad Aug 26, 2014

Choose a reason for hiding this comment

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

merging tshepang/rust/trailing-prompt = f4fb3ad into auto

@bors
Copy link
Contributor

@bors bors commented on f4fb3ad Aug 26, 2014

Choose a reason for hiding this comment

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

tshepang/rust/trailing-prompt = f4fb3ad merged ok, testing candidate = 3ae1059

@bors
Copy link
Contributor

@bors bors commented on f4fb3ad Aug 26, 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 = 3ae1059

Please sign in to comment.