File tree Expand file tree Collapse file tree 1 file changed +21
-3
lines changed Expand file tree Collapse file tree 1 file changed +21
-3
lines changed Original file line number Diff line number Diff line change @@ -45,6 +45,24 @@ advantage of such features.
45
45
## Trying out the 2018 edition
46
46
47
47
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
+ ```
You can’t perform that action at this time.
0 commit comments