File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,9 @@ macro_rules! gen {
3535 use core:: num:: NonZero ;
3636
3737 pub ( crate ) type Unsigned = $unsigned;
38+ #[ allow( unused) ] // only needed for non-u8
3839 pub ( crate ) type Signed = $signed;
40+ #[ allow( unused) ] // only needed for non-u8
3941 pub ( crate ) use super :: $signed as signed;
4042
4143 pub ( crate ) const fn checked_add_unsigned( lhs: Unsigned , rhs: Unsigned ) -> Option <Unsigned > {
@@ -52,7 +54,9 @@ macro_rules! gen {
5254 use core:: num:: NonZero ;
5355
5456 pub ( crate ) type Unsigned = $unsigned;
57+ #[ allow( unused) ] // only needed for non-u8
5558 pub ( crate ) type Signed = $signed;
59+ #[ allow( unused) ] // only needed for non-u8
5660 pub ( crate ) use super :: $signed as signed;
5761
5862 pub ( crate ) const fn checked_add_unsigned( lhs: Signed , rhs: Unsigned ) -> Option <Signed > {
You can’t perform that action at this time.
0 commit comments