Skip to content

Commit 9af1cbe

Browse files
committed
explicitly mention beta and nightly
1 parent 5d9f84a commit 9af1cbe

File tree

1 file changed

+21
-3
lines changed

1 file changed

+21
-3
lines changed

src/editions/index.md

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,24 @@ advantage of such features.
4545
## Trying out the 2018 edition
4646

4747
At the time of writing, there are two editions: 2015 and 2018. 2015 is today's
48-
Rust; Rust 2018 will ship later this year. To transition to the 2018 edition
49-
from the 2015 edition, you'll want to get started with the [transition
50-
section](transitioning-an-existing-project-to-a-new-edition.html).
48+
Rust; Rust 2018 is currently in beta, and will land in stable in Rust 1.31, on December 6, 2018.
49+
50+
To give the 2018 edition a try, install the beta toolchain:
51+
52+
```console
53+
> rustup install beta
54+
````
55+
56+
If you want the really bleeding edge, you can try nightly:
57+
58+
```console
59+
> rustup install nightly
60+
```
61+
62+
When you see commands like `cargo fix` elsewhere in this guide, you may
63+
need to preface them with the toolchain:
64+
65+
```console
66+
> cargo +beta fix --edition
67+
> cargo +nightly fix --edition
68+
```

0 commit comments

Comments
 (0)