diff options
| author | Dario Nieuwenhuis <[email protected]> | 2024-05-07 23:21:55 +0200 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2024-05-07 23:26:15 +0200 |
| commit | b13ad7e80bed802468aac2d876d372c1bcde565c (patch) | |
| tree | 32db403b46fc962d87de6bc599213899953086d1 /embassy-time-queue-driver | |
| parent | 0f11fecff6ea5790aa69270c8e5e77fe9d09ea3b (diff) | |
Fix PeripheralRef soundness issue allowing &T.
Fix soundness issue introduced in a previous soundness fix https://github.com/embassy-rs/embassy/pull/2602 .
PeripheralRef must not implement DerefMut itself, but the blanket impl must still require DerefMut. Otherwise
you can create two instances of a driver on the same uart by using `&my_uart`.
Diffstat (limited to 'embassy-time-queue-driver')
0 files changed, 0 insertions, 0 deletions
