diff options
| author | Ulf Lilleengen <[email protected]> | 2021-12-16 11:37:53 +0100 |
|---|---|---|
| committer | Ulf Lilleengen <[email protected]> | 2021-12-16 11:37:53 +0100 |
| commit | 2bbd1ddb8a0e36e91a2b328024f313b780b1b851 (patch) | |
| tree | 4e41c56f0032f811faac07bc98f93b522ea2e1f3 /embassy-stm32/src/rng.rs | |
| parent | 985c11fad5d666485b809b846d294a1a2492b370 (diff) | |
Remove unneeded rustfmt::skip
Diffstat (limited to 'embassy-stm32/src/rng.rs')
| -rw-r--r-- | embassy-stm32/src/rng.rs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/embassy-stm32/src/rng.rs b/embassy-stm32/src/rng.rs index 5655ed967..dd059eda7 100644 --- a/embassy-stm32/src/rng.rs +++ b/embassy-stm32/src/rng.rs | |||
| @@ -85,8 +85,10 @@ impl<T: Instance> CryptoRng for Rng<T> {} | |||
| 85 | 85 | ||
| 86 | impl<T: Instance> traits::rng::Rng for Rng<T> { | 86 | impl<T: Instance> traits::rng::Rng for Rng<T> { |
| 87 | type Error = Error; | 87 | type Error = Error; |
| 88 | #[rustfmt::skip] | 88 | type RngFuture<'a> |
| 89 | type RngFuture<'a> where Self: 'a = impl Future<Output=Result<(), Self::Error>> + 'a; | 89 | where |
| 90 | Self: 'a, | ||
| 91 | = impl Future<Output = Result<(), Self::Error>> + 'a; | ||
| 90 | 92 | ||
| 91 | fn fill_bytes<'a>(&'a mut self, dest: &'a mut [u8]) -> Self::RngFuture<'a> { | 93 | fn fill_bytes<'a>(&'a mut self, dest: &'a mut [u8]) -> Self::RngFuture<'a> { |
| 92 | unsafe { | 94 | unsafe { |
