aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDario Nieuwenhuis <dirbaio@dirbaio.net>2023-06-01 21:48:47 +0200
committerGitHub <noreply@github.com>2023-06-01 21:48:47 +0200
commitbcdbeebb96bad0882add70236eae70d4e0aaa031 (patch)
tree37e06d3ad9dc76f627fa201494d4bf0a6ed78440
parent9daae8968f3f63aba591002e1b56d594d74d381a (diff)
book: Fix nightly feature attr
-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.