diff --git a/src/bigint.rs b/src/bigint.rs index 9693e473..93bb6b26 100644 --- a/src/bigint.rs +++ b/src/bigint.rs @@ -2559,19 +2559,19 @@ impl BigInt { } /// Returns the truncated principal square root of `self` -- - /// see [Roots::sqrt](Roots::sqrt). + /// see [Roots::sqrt](https://docs.rs/num-integer/0.1/num_integer/trait.Roots.html#method.sqrt). pub fn sqrt(&self) -> Self { Roots::sqrt(self) } /// Returns the truncated principal cube root of `self` -- - /// see [Roots::cbrt](Roots::cbrt). + /// see [Roots::cbrt](https://docs.rs/num-integer/0.1/num_integer/trait.Roots.html#method.cbrt). pub fn cbrt(&self) -> Self { Roots::cbrt(self) } /// Returns the truncated principal `n`th root of `self` -- - /// See [Roots::nth_root](Roots::nth_root). + /// See [Roots::nth_root](https://docs.rs/num-integer/0.1/num_integer/trait.Roots.html#tymethod.nth_root). pub fn nth_root(&self, n: u32) -> Self { Roots::nth_root(self, n) } diff --git a/src/biguint.rs b/src/biguint.rs index 5411f798..e7a3ce19 100644 --- a/src/biguint.rs +++ b/src/biguint.rs @@ -1839,19 +1839,19 @@ impl BigUint { } /// Returns the truncated principal square root of `self` -- - /// see [Roots::sqrt](Roots::sqrt) + /// see [Roots::sqrt](https://docs.rs/num-integer/0.1/num_integer/trait.Roots.html#method.sqrt) pub fn sqrt(&self) -> Self { Roots::sqrt(self) } /// Returns the truncated principal cube root of `self` -- - /// see [Roots::cbrt](Roots::cbrt). + /// see [Roots::cbrt](https://docs.rs/num-integer/0.1/num_integer/trait.Roots.html#method.cbrt). pub fn cbrt(&self) -> Self { Roots::cbrt(self) } /// Returns the truncated principal `n`th root of `self` -- - /// see [Roots::nth_root](Roots::nth_root). + /// see [Roots::nth_root](https://docs.rs/num-integer/0.1/num_integer/trait.Roots.html#tymethod.nth_root). pub fn nth_root(&self, n: u32) -> Self { Roots::nth_root(self, n) }