Skip to content

Commit 37ccb7d

Browse files
authored
Merge pull request #171 from krtab/deleted_unused_macro_param
Remove unused parameter in integer impl macro
2 parents dc92ff8 + cb2c3e5 commit 37ccb7d

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

src/lib.rs

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ impl<'a> Arbitrary<'a> for bool {
303303
}
304304

305305
macro_rules! impl_arbitrary_for_integers {
306-
( $( $ty:ty: $unsigned:ty; )* ) => {
306+
( $( $ty:ty; )* ) => {
307307
$(
308308
impl<'a> Arbitrary<'a> for $ty {
309309
fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self> {
@@ -324,18 +324,18 @@ macro_rules! impl_arbitrary_for_integers {
324324
}
325325

326326
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;
339339
}
340340

341341
macro_rules! impl_arbitrary_for_floats {

0 commit comments

Comments
 (0)