diff options
| author | Dario Nieuwenhuis <[email protected]> | 2021-02-03 04:37:05 +0100 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2021-02-03 04:37:05 +0100 |
| commit | dc8240229bbf0bd1b3123f30794d1b1ffa73c2fc (patch) | |
| tree | ff7e9d6b518daf2e99cb85e11da3dc191f4dc646 /embassy-std | |
| parent | c8a79c151ac0a4bd5a10ba47e0b487bb26110347 (diff) | |
Remove set_alarm in std executor
Diffstat (limited to 'embassy-std')
| -rw-r--r-- | embassy-std/src/lib.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/embassy-std/src/lib.rs b/embassy-std/src/lib.rs index 009ba028d..aabbe2373 100644 --- a/embassy-std/src/lib.rs +++ b/embassy-std/src/lib.rs | |||
| @@ -111,10 +111,6 @@ impl Executor { | |||
| 111 | } | 111 | } |
| 112 | } | 112 | } |
| 113 | 113 | ||
| 114 | pub fn set_alarm(&mut self, alarm: &'static dyn Alarm) { | ||
| 115 | self.inner.set_alarm(alarm); | ||
| 116 | } | ||
| 117 | |||
| 118 | /// Runs the executor. | 114 | /// Runs the executor. |
| 119 | /// | 115 | /// |
| 120 | /// This function never returns. | 116 | /// This function never returns. |
