diff options
Diffstat (limited to 'libcore/num/bignum.rs')
| -rw-r--r-- | libcore/num/bignum.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcore/num/bignum.rs b/libcore/num/bignum.rs index 66c6deb..a881b53 100644 --- a/libcore/num/bignum.rs +++ b/libcore/num/bignum.rs @@ -33,7 +33,7 @@ use mem; use intrinsics; /// Arithmetic operations required by bignums. -pub trait FullOps { +pub trait FullOps: Sized { /// Returns `(carry', v')` such that `carry' * 2^W + v' = self + other + carry`, /// where `W` is the number of bits in `Self`. fn full_add(self, other: Self, carry: bool) -> (bool /*carry*/, Self); |