File tree Expand file tree Collapse file tree 1 file changed +13
-13
lines changed Expand file tree Collapse file tree 1 file changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -303,7 +303,7 @@ impl<'a> Arbitrary<'a> for bool {
303
303
}
304
304
305
305
macro_rules! impl_arbitrary_for_integers {
306
- ( $( $ty: ty: $unsigned : ty ; ) * ) => {
306
+ ( $( $ty: ty; ) * ) => {
307
307
$(
308
308
impl <' a> Arbitrary <' a> for $ty {
309
309
fn arbitrary( u: & mut Unstructured <' a>) -> Result <Self > {
@@ -324,18 +324,18 @@ macro_rules! impl_arbitrary_for_integers {
324
324
}
325
325
326
326
impl_arbitrary_for_integers ! {
327
- u8 : u8 ;
328
- u16 : u16 ;
329
- u32 : u32 ;
330
- u64 : u64 ;
331
- u128 : u128 ;
332
- usize : usize ;
333
- i8 : u8 ;
334
- i16 : u16 ;
335
- i32 : u32 ;
336
- i64 : u64 ;
337
- i128 : u128 ;
338
- isize : usize ;
327
+ u8 ;
328
+ u16 ;
329
+ u32 ;
330
+ u64 ;
331
+ u128 ;
332
+ usize ;
333
+ i8 ;
334
+ i16 ;
335
+ i32 ;
336
+ i64 ;
337
+ i128 ;
338
+ isize ;
339
339
}
340
340
341
341
macro_rules! impl_arbitrary_for_floats {
You can’t perform that action at this time.
0 commit comments