added Sized constraint to some basic traits, otherwise test functions would not compile
added Clone constraints and .clone() calls to prevent "use of previously moved value"
commented out impls and tests requiring unsigned types to be Neg, which they aren't
Some tests still don't pass because of overflow errors - I don't currently have any idea how to fix it, because it would require everything to use Wrapping<T>.
Changes:
Sized
constraint to some basic traits, otherwise test functions would not compileClone
constraints and.clone()
calls to prevent "use of previously moved value"Neg
, which they aren'tSome tests still don't pass because of overflow errors - I don't currently have any idea how to fix it, because it would require everything to use
Wrapping<T>
.