File tree 2 files changed +2
-9
lines changed
2 files changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -178,10 +178,7 @@ impl<R: BlockRngCore> BlockRng<R> {
178
178
}
179
179
}
180
180
181
- impl < R : BlockRngCore < Item = u32 > > RngCore for BlockRng < R >
182
- where
183
- <R as BlockRngCore >:: Results : AsRef < [ u32 ] > + AsMut < [ u32 ] > ,
184
- {
181
+ impl < R : BlockRngCore < Item = u32 > > RngCore for BlockRng < R > {
185
182
#[ inline]
186
183
fn next_u32 ( & mut self ) -> u32 {
187
184
if self . index >= self . results . as_ref ( ) . len ( ) {
@@ -346,10 +343,7 @@ impl<R: BlockRngCore> BlockRng64<R> {
346
343
}
347
344
}
348
345
349
- impl < R : BlockRngCore < Item = u64 > > RngCore for BlockRng64 < R >
350
- where
351
- <R as BlockRngCore >:: Results : AsRef < [ u64 ] > + AsMut < [ u64 ] > ,
352
- {
346
+ impl < R : BlockRngCore < Item = u64 > > RngCore for BlockRng64 < R > {
353
347
#[ inline]
354
348
fn next_u32 ( & mut self ) -> u32 {
355
349
let mut index = self . index - self . half_used as usize ;
Original file line number Diff line number Diff line change @@ -113,7 +113,6 @@ where
113
113
impl < R , Rsdr : RngCore > RngCore for ReseedingRng < R , Rsdr >
114
114
where
115
115
R : BlockRngCore < Item = u32 > + SeedableRng ,
116
- <R as BlockRngCore >:: Results : AsRef < [ u32 ] > + AsMut < [ u32 ] > ,
117
116
{
118
117
#[ inline( always) ]
119
118
fn next_u32 ( & mut self ) -> u32 {
You can’t perform that action at this time.
0 commit comments