Skip to content

Commit e5bf7ba

Browse files
author
Magdalen Manohar
committed
fmt + clippy
1 parent c79529f commit e5bf7ba

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

diskann/src/graph/search/filtered_range_search.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -164,9 +164,7 @@ where
164164
.chain(matched_results.iter().copied())
165165
{
166166
if neighbor.distance <= first_round_radius {
167-
merged
168-
.entry(neighbor.id)
169-
.or_insert(neighbor);
167+
merged.entry(neighbor.id).or_insert(neighbor);
170168
}
171169
}
172170

0 commit comments

Comments
 (0)