From 01e84d091ec5a5ffccbfb9909cdc30bced663245 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johanna=20S=C3=B6rng=C3=A5rd?= Date: Fri, 13 Oct 2023 15:34:38 +0200 Subject: [PATCH] COrrect method info in docstring of isqrt --- src/imath.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/imath.rs b/src/imath.rs index e7dcbc3..8f0d80f 100644 --- a/src/imath.rs +++ b/src/imath.rs @@ -3,7 +3,7 @@ /// Returns the largest integer smaller than or equal to `√n`. /// -/// Uses a binary search. +/// Uses the Newton-Rhapson method. #[must_use] pub const fn isqrt(n: u64) -> u64 { if n <= 1 {