diff options
| author | Dario Nieuwenhuis <dirbaio@dirbaio.net> | 2023-06-01 21:48:47 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-06-01 21:48:47 +0200 |
| commit | bcdbeebb96bad0882add70236eae70d4e0aaa031 (patch) | |
| tree | 37e06d3ad9dc76f627fa201494d4bf0a6ed78440 /book/en/src/migration_v1_v2 | |
| parent | 9daae8968f3f63aba591002e1b56d594d74d381a (diff) | |
book: Fix nightly feature attr
Diffstat (limited to 'book/en/src/migration_v1_v2')
| -rw-r--r-- | book/en/src/migration_v1_v2/nightly.md | 2 |
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. |
