From d02deec46b76406a3fc558bcfb50bc249e2f85a6 Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Thu, 7 Jan 2021 11:16:50 +0100 Subject: [PATCH] Remove obsolete comment --- src/lib.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index bde8d1f..6b5841f 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -243,7 +243,6 @@ fn insert(layer: &mut Vec, new: PointId, found: &[Candidate] found.iter().map(|c| c.pid).collect::>().len() ); - // Only use the `Self::LINKS` nearest candidates found for (i, candidate) in found.iter().take(M * 2).enumerate() { // `candidate` here is the new node's neighbor let &Candidate { distance, pid } = candidate;