Remove unused NodeId type

This commit is contained in:
Dirkjan Ochtman 2020-12-14 15:49:06 +01:00
parent aba1c33455
commit 6a040672d1
1 changed files with 0 additions and 4 deletions

View File

@ -520,10 +520,6 @@ struct Candidate {
pid: PointId, pid: PointId,
} }
/// References a node in a particular layer (usually the same layer)
#[derive(Clone, Copy, Debug, Eq, Hash, Ord, PartialEq, PartialOrd)]
struct NodeId(usize);
/// References a `Point` in the `Hnsw` /// References a `Point` in the `Hnsw`
/// ///
/// This can be used to index into the `Hnsw` to refer to the `Point` data. /// This can be used to index into the `Hnsw` to refer to the `Point` data.