mirror of
https://github.com/instant-labs/instant-distance.git
synced 2025-02-02 14:02:06 +00:00
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>
|
||||
where
|
||||
P: Point + std::fmt::Debug,
|
||||
P: Point,
|
||||
{
|
||||
pub fn new(points: &[P], ef_construction: usize, ef_search: usize) -> (Self, Vec<PointId>) {
|
||||
if points.is_empty() {
|
||||
|
Loading…
Reference in New Issue
Block a user