From e06b296f6353d9c2d1feca29720eede4f7508cf5 Mon Sep 17 00:00:00 2001 From: Mike Cronce Date: Thu, 19 Sep 2019 19:42:23 -0400 Subject: [PATCH 1/2] lib.rs: + 96-item inline support --- lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib.rs b/lib.rs index 583b046..d3128ee 100644 --- a/lib.rs +++ b/lib.rs @@ -1655,8 +1655,8 @@ macro_rules! impl_array( ); impl_array!( - 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 20, 24, 32, 36, 0x40, 0x80, 0x100, - 0x200, 0x400, 0x800, 0x1000, 0x2000, 0x4000, 0x8000, 0x10000, 0x20000, 0x40000, 0x80000, + 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 20, 24, 32, 36, 0x40, 0x60, 0x80, 0x100, + 0x200, 0x400, 0x600, 0x800, 0x1000, 0x2000, 0x4000, 0x6000, 0x8000, 0x10000, 0x20000, 0x40000, 0x60000, 0x80000, 0x100000 ); From 0f197c5e21f394bb2d0bd977ce3f78d506d18617 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20Cobos=20=C3=81lvarez?= Date: Sat, 19 Oct 2019 04:47:59 +0200 Subject: [PATCH 2/2] Support also some other item sizes for consistency. --- lib.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib.rs b/lib.rs index d3128ee..627659d 100644 --- a/lib.rs +++ b/lib.rs @@ -1655,9 +1655,9 @@ macro_rules! impl_array( ); impl_array!( - 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 20, 24, 32, 36, 0x40, 0x60, 0x80, 0x100, - 0x200, 0x400, 0x600, 0x800, 0x1000, 0x2000, 0x4000, 0x6000, 0x8000, 0x10000, 0x20000, 0x40000, 0x60000, 0x80000, - 0x100000 + 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 20, 24, 32, 36, 0x40, 0x60, 0x80, + 0x100, 0x200, 0x400, 0x600, 0x800, 0x1000, 0x2000, 0x4000, 0x6000, 0x8000, 0x10000, 0x20000, + 0x40000, 0x60000, 0x80000, 0x100000 ); #[cfg(test)]