Remove trait_alias, allow(incomplete_features).
trait_alias seems unused. no idea why it's there.
This commit is contained in:
@ -3,7 +3,6 @@
|
||||
#![feature(const_fn_trait_bound)]
|
||||
#![feature(const_fn_fn_ptr_basics)]
|
||||
#![feature(const_option)]
|
||||
#![allow(incomplete_features)]
|
||||
#![feature(type_alias_impl_trait)]
|
||||
|
||||
// This mod MUST go first, so that the others see its macros.
|
||||
|
@ -42,7 +42,6 @@ impl Timer {
|
||||
///
|
||||
/// Example:
|
||||
/// ``` no_run
|
||||
/// # #![feature(trait_alias)]
|
||||
/// # #![feature(type_alias_impl_trait)]
|
||||
/// #
|
||||
/// # fn foo() {}
|
||||
@ -83,7 +82,6 @@ impl Future for Timer {
|
||||
///
|
||||
/// For instance, consider the following code fragment.
|
||||
/// ``` no_run
|
||||
/// # #![feature(trait_alias)]
|
||||
/// # #![feature(type_alias_impl_trait)]
|
||||
/// #
|
||||
/// use embassy::time::{Duration, Timer};
|
||||
@ -104,7 +102,6 @@ impl Future for Timer {
|
||||
/// Example using ticker, which will consistently call `foo` once a second.
|
||||
///
|
||||
/// ``` no_run
|
||||
/// # #![feature(trait_alias)]
|
||||
/// # #![feature(type_alias_impl_trait)]
|
||||
/// #
|
||||
/// use embassy::time::{Duration, Ticker};
|
||||
|
Reference in New Issue
Block a user