diff options
Diffstat (limited to 'embassy-traits/src')
| -rw-r--r-- | embassy-traits/src/rng.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/embassy-traits/src/rng.rs b/embassy-traits/src/rng.rs index ac4463ee6..ec97406b0 100644 --- a/embassy-traits/src/rng.rs +++ b/embassy-traits/src/rng.rs | |||
| @@ -4,10 +4,9 @@ use core::future::Future; | |||
| 4 | pub trait Rng { | 4 | pub trait Rng { |
| 5 | type Error; | 5 | type Error; |
| 6 | 6 | ||
| 7 | #[rustfmt::skip] | 7 | type RngFuture<'a>: Future<Output = Result<(), Self::Error>> + 'a |
| 8 | type RngFuture<'a>: Future<Output = Result<(), Self::Error> > + 'a | ||
| 9 | where | 8 | where |
| 10 | Self: 'a; | 9 | Self: 'a; |
| 11 | 10 | ||
| 12 | /// Completely fill the provided buffer with random bytes. | 11 | /// Completely fill the provided buffer with random bytes. |
| 13 | /// | 12 | /// |
