diff options
| author | Mathias <[email protected]> | 2022-08-23 13:24:52 +0200 |
|---|---|---|
| committer | Mathias <[email protected]> | 2022-08-23 13:24:52 +0200 |
| commit | 36cf719a1899202caeae39a8a6d5443a4acbdcfe (patch) | |
| tree | 4b58c2773f577dd7bb739358e48052841fff1432 /embassy-executor/src/arch/std.rs | |
| parent | 7e3ce2c90befe19ea30c6a784710f6cebf5a48f2 (diff) | |
| parent | cb9f0ef5b800ce4a22cde1805e0eb88425f1e07b (diff) | |
Merge branch 'master' of https://github.com/embassy-rs/embassy into embassy-rp/dma
Diffstat (limited to 'embassy-executor/src/arch/std.rs')
| -rw-r--r-- | embassy-executor/src/arch/std.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/embassy-executor/src/arch/std.rs b/embassy-executor/src/arch/std.rs index b93ab8a79..701f0eb18 100644 --- a/embassy-executor/src/arch/std.rs +++ b/embassy-executor/src/arch/std.rs | |||
| @@ -40,7 +40,7 @@ impl Executor { | |||
| 40 | /// Executor instance in a place where it'll live forever and grants you mutable | 40 | /// Executor instance in a place where it'll live forever and grants you mutable |
| 41 | /// access. There's a few ways to do this: | 41 | /// access. There's a few ways to do this: |
| 42 | /// | 42 | /// |
| 43 | /// - a [Forever](crate::util::Forever) (safe) | 43 | /// - a [StaticCell](https://docs.rs/static_cell/latest/static_cell/) (safe) |
| 44 | /// - a `static mut` (unsafe) | 44 | /// - a `static mut` (unsafe) |
| 45 | /// - a local variable in a function you know never returns (like `fn main() -> !`), upgrading its lifetime with `transmute`. (unsafe) | 45 | /// - a local variable in a function you know never returns (like `fn main() -> !`), upgrading its lifetime with `transmute`. (unsafe) |
| 46 | /// | 46 | /// |
