mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-03 20:07:09 +02:00
Remove trailing whitespace
This commit is contained in:
parent
a490a11325
commit
51043f78f0
1 changed files with 1 additions and 1 deletions
|
@ -237,7 +237,7 @@ impl<G: RankingRuleGraphTrait> RankingRuleGraph<G> {
|
||||||
) {
|
) {
|
||||||
// Traverse the graph backward from the target node, recomputing the cost for each of its predecessors.
|
// Traverse the graph backward from the target node, recomputing the cost for each of its predecessors.
|
||||||
// We first check that no other node is contributing the same total cost to a predecessor before removing
|
// We first check that no other node is contributing the same total cost to a predecessor before removing
|
||||||
// the cost from the predecessor.
|
// the cost from the predecessor.
|
||||||
self.traverse_breadth_first_backward(node_with_removed_outgoing_conditions, |cur_node| {
|
self.traverse_breadth_first_backward(node_with_removed_outgoing_conditions, |cur_node| {
|
||||||
let mut costs_to_remove = FxHashSet::default();
|
let mut costs_to_remove = FxHashSet::default();
|
||||||
costs_to_remove.extend(costs.get(cur_node).iter().copied());
|
costs_to_remove.extend(costs.get(cur_node).iter().copied());
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue