aboutsummaryrefslogtreecommitdiff
path: root/libcore/num/bignum.rs
diff options
context:
space:
mode:
authorpravic <[email protected]>2016-06-06 23:05:39 +0300
committerpravic <[email protected]>2016-06-06 23:05:39 +0300
commitddc401e0bf4f972bc2916601797d12bb97c5f1dc (patch)
tree8aa799e4fdf089c5060f3ea8b567943681603b85 /libcore/num/bignum.rs
parentupdate libcore to 2016-04-29 nightly (diff)
downloadarchived-kmd-env-rs-ddc401e0bf4f972bc2916601797d12bb97c5f1dc.tar.xz
archived-kmd-env-rs-ddc401e0bf4f972bc2916601797d12bb97c5f1dc.zip
update to 2016-06-06
Diffstat (limited to 'libcore/num/bignum.rs')
-rw-r--r--libcore/num/bignum.rs2
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);