Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
eddyxu committed May 13, 2023
1 parent feb0203 commit c0ce839
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rust/src/index/vector/diskann/search.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ use crate::{
index::{
vector::VectorIndex,
vector::{
graph::{Graph, VertexWithDistance, GraphMapNeighbors},
graph::{Graph, GraphMapNeighbors, VertexWithDistance},
Query,
},
},
Expand Down
2 changes: 1 addition & 1 deletion rust/src/index/vector/graph.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ pub trait Graph {
}

#[async_trait]
pub trait GraphMapNeighbors<T: Send> : Graph {
pub trait GraphMapNeighbors<T: Send>: Graph {
/// Map the neighbors of the vertex.
async fn map_neighbors(&self, f: impl FnMut(u32) -> T) -> Result<Vec<T>>;
}
Expand Down

0 comments on commit c0ce839

Please sign in to comment.