diff options
| author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2022-05-04 15:56:30 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-05-04 15:56:30 +0000 |
| commit | f7af9a549f165419f4fa85c82b42a3e5b54d417e (patch) | |
| tree | d8e9b47fab71e7b2b8d09edb0f557191d0eb91a4 /stm32-data | |
| parent | 85c0525e01c52bbb85c7b93600a60837ee7b87dc (diff) | |
| parent | 0ce29ca84c819a8a8587bf50101666fd9f4dbbf7 (diff) | |
Merge #751
751: Use explicit return statement TaskStorage::spawn r=Dirbaio a=danbev
This commit removes the else branch in `TaskStorage::spawn`, and returns
explicitly from the if statement's branch, similar to what
[TaskPool::spawn](https://github.com/embassy-rs/embassy/blob/85c0525e01c52bbb85c7b93600a60837ee7b87dc/embassy/src/executor/raw/mod.rs#L235-L243) does.
Co-authored-by: Daniel Bevenius <[email protected]>
Diffstat (limited to 'stm32-data')
0 files changed, 0 insertions, 0 deletions
