diff options
Diffstat (limited to 'embassy-time/src')
| -rw-r--r-- | embassy-time/src/timer.rs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/embassy-time/src/timer.rs b/embassy-time/src/timer.rs index 574d715da..2705ba03f 100644 --- a/embassy-time/src/timer.rs +++ b/embassy-time/src/timer.rs | |||
| @@ -47,9 +47,6 @@ impl Timer { | |||
| 47 | /// | 47 | /// |
| 48 | /// Example: | 48 | /// Example: |
| 49 | /// ``` no_run | 49 | /// ``` no_run |
| 50 | /// # #![feature(type_alias_impl_trait)] | ||
| 51 | /// # | ||
| 52 | /// # fn foo() {} | ||
| 53 | /// use embassy_time::{Duration, Timer}; | 50 | /// use embassy_time::{Duration, Timer}; |
| 54 | /// | 51 | /// |
| 55 | /// #[embassy_executor::task] | 52 | /// #[embassy_executor::task] |
| @@ -132,8 +129,6 @@ impl Future for Timer { | |||
| 132 | /// | 129 | /// |
| 133 | /// For instance, consider the following code fragment. | 130 | /// For instance, consider the following code fragment. |
| 134 | /// ``` no_run | 131 | /// ``` no_run |
| 135 | /// # #![feature(type_alias_impl_trait)] | ||
| 136 | /// # | ||
| 137 | /// use embassy_time::{Duration, Timer}; | 132 | /// use embassy_time::{Duration, Timer}; |
| 138 | /// # fn foo() {} | 133 | /// # fn foo() {} |
| 139 | /// | 134 | /// |
| @@ -152,8 +147,6 @@ impl Future for Timer { | |||
| 152 | /// Example using ticker, which will consistently call `foo` once a second. | 147 | /// Example using ticker, which will consistently call `foo` once a second. |
| 153 | /// | 148 | /// |
| 154 | /// ``` no_run | 149 | /// ``` no_run |
| 155 | /// # #![feature(type_alias_impl_trait)] | ||
| 156 | /// # | ||
| 157 | /// use embassy_time::{Duration, Ticker}; | 150 | /// use embassy_time::{Duration, Ticker}; |
| 158 | /// # fn foo(){} | 151 | /// # fn foo(){} |
| 159 | /// | 152 | /// |
