aboutsummaryrefslogtreecommitdiff
path: root/book/en/src/migration_v1_v2
diff options
context:
space:
mode:
Diffstat (limited to 'book/en/src/migration_v1_v2')
-rw-r--r--book/en/src/migration_v1_v2/nightly.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/book/en/src/migration_v1_v2/nightly.md b/book/en/src/migration_v1_v2/nightly.md
index 09f6e33..768d1b8 100644
--- a/book/en/src/migration_v1_v2/nightly.md
+++ b/book/en/src/migration_v1_v2/nightly.md
@@ -2,4 +2,4 @@
The new `async` features require that you use a nightly compiler, and that the feature `type_alias_impl_trait` is enabled for your applications.
-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. \ No newline at end of file
+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.