File tree Expand file tree Collapse file tree 2 files changed +2
-9
lines changed Expand file tree Collapse file tree 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> {
178178 }
179179}
180180
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 > {
185182 #[ inline]
186183 fn next_u32 ( & mut self ) -> u32 {
187184 if self . index >= self . results . as_ref ( ) . len ( ) {
@@ -346,10 +343,7 @@ impl<R: BlockRngCore> BlockRng64<R> {
346343 }
347344}
348345
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 > {
353347 #[ inline]
354348 fn next_u32 ( & mut self ) -> u32 {
355349 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
113113impl < R , Rsdr : RngCore > RngCore for ReseedingRng < R , Rsdr >
114114where
115115 R : BlockRngCore < Item = u32 > + SeedableRng ,
116- <R as BlockRngCore >:: Results : AsRef < [ u32 ] > + AsMut < [ u32 ] > ,
117116{
118117 #[ inline( always) ]
119118 fn next_u32 ( & mut self ) -> u32 {
You can’t perform that action at this time.
0 commit comments