From 059d75d692554eca4704dd07ca2cf2e767dccc59 Mon Sep 17 00:00:00 2001 From: Max Bachmann Date: Wed, 27 Dec 2023 15:03:02 +0100 Subject: [PATCH] remove outdated comment --- src/lib.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 20a9486..a998b68 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -77,8 +77,6 @@ where let a_len = a.into_iter().count(); let b_len = b.into_iter().count(); - // The check for lengths of one here is to prevent integer overflow when - // calculating the search range. if a_len == 0 && b_len == 0 { return 1.0; } else if a_len == 0 || b_len == 0 {