diff --git a/src/bigint.rs b/src/bigint.rs index b4f84b9e..00fb0ee9 100644 --- a/src/bigint.rs +++ b/src/bigint.rs @@ -425,7 +425,7 @@ impl Integer for BigInt { /// Calculates the Greatest Common Divisor (GCD) of the number and `other`. /// - /// The result is always positive. + /// The result is always non-negative. #[inline] fn gcd(&self, other: &BigInt) -> BigInt { BigInt::from(self.data.gcd(&other.data)) diff --git a/src/biguint.rs b/src/biguint.rs index 196fa323..7936ecfe 100644 --- a/src/biguint.rs +++ b/src/biguint.rs @@ -215,8 +215,6 @@ impl Integer for BigUint { } /// Calculates the Greatest Common Divisor (GCD) of the number and `other`. - /// - /// The result is always positive. #[inline] fn gcd(&self, other: &Self) -> Self { #[inline]