Remove Debug bound from P type

This commit is contained in:
Dirkjan Ochtman 2020-12-14 16:02:23 +01:00
parent 02cfa606c7
commit db925603d0
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ pub struct Hnsw<P> {
impl<P> Hnsw<P> impl<P> Hnsw<P>
where where
P: Point + std::fmt::Debug, P: Point,
{ {
pub fn new(points: &[P], ef_construction: usize, ef_search: usize) -> (Self, Vec<PointId>) { pub fn new(points: &[P], ef_construction: usize, ef_search: usize) -> (Self, Vec<PointId>) {
if points.is_empty() { if points.is_empty() {