Skip to content

Commit bcdbeeb

Browse files
authored
book: Fix nightly feature attr
1 parent 9daae89 commit bcdbeeb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

book/en/src/migration_v1_v2/nightly.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
The new `async` features require that you use a nightly compiler, and that the feature `type_alias_impl_trait` is enabled for your applications.
44

5-
To enable this feature, you must add the line `#![type_alias_impl_trait]` to the root file of your project, on the lines below or above where `#![no_std]` and `#![no_main]` are defined.
5+
To enable this feature, you must add the line `#![feature(type_alias_impl_trait)]` to the root file of your project, on the lines below or above where `#![no_std]` and `#![no_main]` are defined.

0 commit comments

Comments
 (0)