Remove trailing whitespace

This commit is contained in:
Louis Dureuil 2023-05-23 15:27:25 +02:00 committed by GitHub
parent a490a11325
commit 51043f78f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.
// 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| {
let mut costs_to_remove = FxHashSet::default();
costs_to_remove.extend(costs.get(cur_node).iter().copied());