Skip to content

Commit b23d804

Browse files
authored
Merge pull request #46 from mati865/master
Fix rust_2018_idioms in the snippet
2 parents 72f5cd8 + 5f4cd09 commit b23d804

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/editions/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ add this feature to your crate root:
5050
#![feature(rust_2018_preview)]
5151

5252
// Opt in to warnings about new 2018 idioms
53-
#![feature(rust_2018_idioms)]
53+
#![warn(rust_2018_idioms)]
5454
```
5555

5656
and opt in to the new edition in your `Cargo.toml`:

0 commit comments

Comments
 (0)