aboutsummaryrefslogtreecommitdiff
path: root/book
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2023-06-03 13:37:48 +0000
committerGitHub <noreply@github.com>2023-06-03 13:37:48 +0000
commit073f48208df001f43dae6a8115953e64369d666b (patch)
tree37e06d3ad9dc76f627fa201494d4bf0a6ed78440 /book
parent9daae8968f3f63aba591002e1b56d594d74d381a (diff)
parentbcdbeebb96bad0882add70236eae70d4e0aaa031 (diff)
Merge #761
761: book: Fix nightly feature attr r=datdenkikniet a=Dirbaio Co-authored-by: Dario Nieuwenhuis <dirbaio@dirbaio.net>
Diffstat (limited to 'book')
-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.