diff options
| author | sodo <[email protected]> | 2024-01-02 01:37:00 +0900 |
|---|---|---|
| committer | sodo <[email protected]> | 2024-01-02 13:34:22 +0900 |
| commit | 6ee153a3e2eec284c0d9d87f31801265c0604f74 (patch) | |
| tree | 8b801cbd15f9ad5052d5942c731e75736dc9d7eb /embassy-time/src/timer.rs | |
| parent | b7cd7952c890f585ff876c622482534e5d58d4a4 (diff) | |
| parent | 0be9b0599aaf2e425d76ec7852ff4b3535defddf (diff) | |
Merge remote-tracking branch 'origin'
Diffstat (limited to 'embassy-time/src/timer.rs')
| -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 | /// |
