Skip to content

Commit 9c48d95

Browse files
committed
update several version numbers
1 parent f63b244 commit 9c48d95

File tree

7 files changed

+7
-32
lines changed

7 files changed

+7
-32
lines changed

src/editions/index.md

Lines changed: 1 addition & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -40,29 +40,4 @@ People using any edition of Rust will continue to see improvements as new
4040
stable releases are made. In some cases however, mainly when new keywords are
4141
added, but sometimes for other reasons, there may be new features that are only
4242
available in later editions. You only need to upgrade if you want to take
43-
advantage of such features.
44-
45-
## Trying out the 2018 edition
46-
47-
At the time of writing, there are two editions: 2015 and 2018. 2015 is today's
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-
```
43+
advantage of such features.

src/rust-2018/macros/macro-changes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Macro changes
22

3-
![Minimum Rust version: beta](https://img.shields.io/badge/Minimum%20Rust%20Version-beta-orange.svg)
3+
![Minimum Rust version: 1.31](https://img.shields.io/badge/Minimum%20Rust%20Version-1.31-brightgreen.svg)
44

55
## `macro_rules!` style macros
66

src/rust-2018/module-system/path-clarity.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Path clarity
22

3-
![Minimum Rust version: beta](https://img.shields.io/badge/Minimum%20Rust%20Version-beta-orange.svg)
3+
![Minimum Rust version: 1.31](https://img.shields.io/badge/Minimum%20Rust%20Version-1.31-brightgreen.svg)
44
![Minimum Rust version: nightly](https://img.shields.io/badge/Minimum%20Rust%20Version-nightly-red.svg) for "uniform paths"
55

66
The module system is often one of the hardest things for people new to Rust. Everyone

src/rust-2018/module-system/raw-identifiers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Raw identifiers
22

3-
![Minimum Rust version: beta](https://img.shields.io/badge/Minimum%20Rust%20Version-beta-orange.svg)
3+
![Minimum Rust version: 1.30](https://img.shields.io/badge/Minimum%20Rust%20Version-1.30-brightgreen.svg)
44

55
Rust, like many programming languages, has the concept of "keywords".
66
These identifiers mean something to the language, and so you cannot use them in

src/rust-2018/ownership-and-lifetimes/inference-in-structs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# `T: 'a` inference in structs
22

3-
![Minimum Rust version: beta](https://img.shields.io/badge/Minimum%20Rust%20Version-beta-orange.svg)
3+
![Minimum Rust version: 1.31](https://img.shields.io/badge/Minimum%20Rust%20Version-1.31-brightgreen.svg)
44

55
An annotation in the form of `T: 'a`, where `T` is either a type or another
66
lifetime, is called an *"outlives"* requirement. Note that *"outlives"* also

src/rust-2018/ownership-and-lifetimes/non-lexical-lifetimes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Non-lexical lifetimes
22

3-
![Minimum Rust version: beta](https://img.shields.io/badge/Minimum%20Rust%20Version-beta-orange.svg)
3+
![Minimum Rust version: 1.31](https://img.shields.io/badge/Minimum%20Rust%20Version-1.31-brightgreen.svg)
44

55
The borrow checker has been enhanced to accept more code, via a mechanism
66
called "non-lexical lifetimes." Consider this example:

src/rust-2018/trait-system/no-anon-params.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# No more anonymous trait parameters
22

3-
![Minimum Rust version: beta](https://img.shields.io/badge/Minimum%20Rust%20Version-beta-orange.svg)
3+
![Minimum Rust version: 1.31](https://img.shields.io/badge/Minimum%20Rust%20Version-1.31-brightgreen.svg)
44

55
In accordance with RFC [#1685](https://github.com/rust-lang/rfcs/pull/1685),
66
parameters in trait method declarations are no longer allowed to be anonymous.

0 commit comments

Comments
 (0)