Skip to content

Commit 4d64004

Browse files
committed
remove unneeded rust_2018_previews
1 parent 8da55f8 commit 4d64004

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ Now, you write:
3232

3333
```rust,ignore
3434
// Rust 2018
35-
#![feature(rust_2018_preview)]
3635
3736
use bar::baz;
3837
@@ -68,7 +67,6 @@ Now, you write instead:
6867

6968
```rust,ignore
7069
// Rust 2018
71-
#![feature(rust_2018_preview)]
7270
use serde_derive::{Serialize, Deserialize};
7371
7472
#[derive(Serialize, Deserialize)]

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ new "uniform paths" variant introduced in edition preview 2. The release of
2020
Rust 2018 will stabilize one of these two variants and drop the other.
2121

2222
To test Rust 2018 with the new "uniform paths" variant, put
23-
`#![feature(rust_2018_preview, uniform_paths)]` at the top of your `lib.rs` or
23+
`#![feature(uniform_paths)]` at the top of your `lib.rs` or
2424
`main.rs`.
2525

2626
Here's a brief summary:

0 commit comments

Comments
 (0)