Move random utils to another trait.

This commit is contained in:
Bob McWhirter
2021-08-30 09:55:29 -04:00
parent 78f7d1b786
commit 7fa3b27cac
3 changed files with 8 additions and 4 deletions

View File

@ -126,7 +126,9 @@ impl<T: Instance> traits::rng::Rng for Random<T> {
Ok(())
}
}
}
impl<T: Instance> traits::rng::Random for Random<T> {
#[rustfmt::skip]
type NextFuture<'a> where Self: 'a = impl Future<Output=Result<u32, Self::Error>> + 'a;