761: book: Fix nightly feature attr r=datdenkikniet a=Dirbaio



Co-authored-by: Dario Nieuwenhuis <dirbaio@dirbaio.net>
This commit is contained in:
bors[bot] 2023-06-03 13:37:48 +00:00 committed by GitHub
commit 073f48208d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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. 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. 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.