Remove Debug bound from P type
This commit is contained in:
parent
02cfa606c7
commit
db925603d0
|
@ -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() {
|
||||||
|
|
Loading…
Reference in New Issue