File tree Expand file tree Collapse file tree 3 files changed +174
-185
lines changed
Expand file tree Collapse file tree 3 files changed +174
-185
lines changed Original file line number Diff line number Diff line change @@ -487,7 +487,7 @@ macro_rules! define_numeric {
487487
488488/// This trait extends many common unsigned integer types
489489/// so that they can be used with the bitstream handling traits.
490- pub trait UnsignedInteger : Numeric + Into < crate :: write :: UnsignedValue > {
490+ pub trait UnsignedInteger : Numeric {
491491 /// This type's most-significant bit
492492 const MSB_BIT : Self ;
493493
@@ -774,7 +774,7 @@ macro_rules! define_unsigned_integer {
774774/// This trait was formerly named `SignedNumeric` in 2.X.X code.
775775/// If backwards-compatibility is needed one can
776776/// import `SignedInteger` as `SignedNumeric`.
777- pub trait SignedInteger : Numeric + Into < crate :: write :: SignedValue > {
777+ pub trait SignedInteger : Numeric {
778778 /// The unsigned variant of ourself
779779 type Unsigned : UnsignedInteger < Signed = Self > ;
780780
You can’t perform that action at this time.
0 commit comments