Skip to content

Commit ac42c25

Browse files
committed
---
yaml --- r: 210839 b: refs/heads/try c: eef6b4a h: refs/heads/master i: 210837: 504808b 210835: 5279ecb 210831: 8c02b40 v: v3
1 parent 0ed0016 commit ac42c25

File tree

4 files changed

+21
-21
lines changed

4 files changed

+21
-21
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
refs/heads/master: 3e561f05c00cd180ec02db4ccab2840a4aba93d2
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: ba0e1cd8147d452c356aacb29fb87568ca26f111
5-
refs/heads/try: 13a4b83c1a73260b9c34a66d3bde62ff09d01863
5+
refs/heads/try: eef6b4a37b9b7a1753bb91016c36435ad66309dc
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
88
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596

branches/try/src/doc/trpl/dining-philosophers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ let handles: Vec<_> = philosophers.into_iter().map(|p| {
396396
}).collect();
397397
```
398398

399-
While this is only five lines, they’re a dense five. Let’s break it down.
399+
While this is only five lines, they’re a dense four. Let’s break it down.
400400

401401
```rust,ignore
402402
let handles: Vec<_> =

branches/try/src/doc/trpl/guessing-game.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Check out the generated `Cargo.toml`:
2727
[package]
2828

2929
name = "guessing_game"
30-
version = "0.1.0"
30+
version = "0.0.1"
3131
authors = ["Your Name <[email protected]>"]
3232
```
3333

@@ -46,7 +46,7 @@ Let’s try compiling what Cargo gave us:
4646

4747
```{bash}
4848
$ cargo build
49-
Compiling guessing_game v0.1.0 (file:///home/you/projects/guessing_game)
49+
Compiling guessing_game v0.0.1 (file:///home/you/projects/guessing_game)
5050
```
5151

5252
Excellent! Open up your `src/main.rs` again. We’ll be writing all of
@@ -58,7 +58,7 @@ Try it out:
5858

5959
```bash
6060
$ cargo run
61-
Compiling guessing_game v0.1.0 (file:///home/you/projects/guessing_game)
61+
Compiling guessing_game v0.0.1 (file:///home/you/projects/guessing_game)
6262
Running `target/debug/guessing_game`
6363
Hello, world!
6464
```
@@ -727,7 +727,7 @@ Let’s try our program out!
727727
728728
```bash
729729
$ cargo run
730-
Compiling guessing_game v0.1.0 (file:///home/you/projects/guessing_game)
730+
Compiling guessing_game v0.0.1 (file:///home/you/projects/guessing_game)
731731
Running `target/guessing_game`
732732
Guess the number!
733733
The secret number is: 58
@@ -792,7 +792,7 @@ and quit. Observe:
792792
793793
```bash
794794
$ cargo run
795-
Compiling guessing_game v0.1.0 (file:///home/you/projects/guessing_game)
795+
Compiling guessing_game v0.0.1 (file:///home/you/projects/guessing_game)
796796
Running `target/guessing_game`
797797
Guess the number!
798798
The secret number is: 59
@@ -929,7 +929,7 @@ Now we should be good! Let’s try:
929929
930930
```bash
931931
$ cargo run
932-
Compiling guessing_game v0.1.0 (file:///home/you/projects/guessing_game)
932+
Compiling guessing_game v0.0.1 (file:///home/you/projects/guessing_game)
933933
Running `target/guessing_game`
934934
Guess the number!
935935
The secret number is: 61

branches/try/src/libsyntax/print/pprust.rs

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -287,19 +287,19 @@ pub fn token_to_string(tok: &Token) -> String {
287287
token::SpecialVarNt(var) => format!("${}", var.as_str()),
288288

289289
token::Interpolated(ref nt) => match *nt {
290-
token::NtExpr(ref e) => expr_to_string(&**e),
291-
token::NtMeta(ref e) => meta_item_to_string(&**e),
292-
token::NtTy(ref e) => ty_to_string(&**e),
293-
token::NtPath(ref e) => path_to_string(&**e),
294-
token::NtItem(..) => "an interpolated item".to_string(),
295-
token::NtBlock(..) => "an interpolated block".to_string(),
296-
token::NtStmt(..) => "an interpolated statement".to_string(),
297-
token::NtPat(..) => "an interpolated pattern".to_string(),
298-
token::NtIdent(..) => "an interpolated identifier".to_string(),
299-
token::NtTT(..) => "an interpolated tt".to_string(),
300-
token::NtArm(..) => "an interpolated arm".to_string(),
301-
token::NtImplItem(..) => "an interpolated impl item".to_string(),
302-
token::NtTraitItem(..) => "an interpolated trait item".to_string(),
290+
token::NtExpr(ref e) => expr_to_string(&**e),
291+
token::NtMeta(ref e) => meta_item_to_string(&**e),
292+
token::NtTy(ref e) => ty_to_string(&**e),
293+
token::NtPath(ref e) => path_to_string(&**e),
294+
token::NtItem(ref e) => item_to_string(&**e),
295+
token::NtBlock(ref e) => block_to_string(&**e),
296+
token::NtStmt(ref e) => stmt_to_string(&**e),
297+
token::NtPat(ref e) => pat_to_string(&**e),
298+
token::NtIdent(ref e) => ident_to_string(&**e),
299+
token::NtTT(ref e) => tt_to_string(&**e),
300+
token::NtArm(ref e) => arm_to_string(&**e),
301+
token::NtImplItem(ref e) => impl_item_to_string(&**e),
302+
token::NtTraitItem(ref e) => trait_item_to_string(&**e),
303303
}
304304
}
305305
}

0 commit comments

Comments
 (0)