diff options
| author | Dario Nieuwenhuis <[email protected]> | 2021-07-29 13:08:30 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-07-29 13:08:30 +0200 |
| commit | c8a48d726a7cc92ef989a519fdf55ec1f9fffbcd (patch) | |
| tree | c4d55f123620b68ed41cd517b437f61210fe6cfb /embassy-nrf/src/uarte.rs | |
| parent | 61340d8c654abfb1e809042f9deceeaec0424d05 (diff) | |
| parent | cd1a3fcff34943117f446e1afeb9e6d531ee577b (diff) | |
Merge pull request #277 from Liamolucko/fix-peripheral-ub
extras: Fix UB in `Peripheral`
Diffstat (limited to 'embassy-nrf/src/uarte.rs')
| -rw-r--r-- | embassy-nrf/src/uarte.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/embassy-nrf/src/uarte.rs b/embassy-nrf/src/uarte.rs index 67ec5d73f..985854a5f 100644 --- a/embassy-nrf/src/uarte.rs +++ b/embassy-nrf/src/uarte.rs | |||
| @@ -461,7 +461,7 @@ pub(crate) mod sealed { | |||
| 461 | } | 461 | } |
| 462 | } | 462 | } |
| 463 | 463 | ||
| 464 | pub trait Instance: Unborrow<Target = Self> + sealed::Instance + 'static { | 464 | pub trait Instance: Unborrow<Target = Self> + sealed::Instance + 'static + Send { |
| 465 | type Interrupt: Interrupt; | 465 | type Interrupt: Interrupt; |
| 466 | } | 466 | } |
| 467 | 467 | ||
