Skip to content
This repository has been archived by the owner on Mar 3, 2025. It is now read-only.

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
remkop22 committed Nov 21, 2024
1 parent ca54cbd commit b924714
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ocpi-tariffs/src/normalize.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ pub fn normalize(tariff: &mut OcpiTariff) {
remove_components.sort();
remove_elements.sort();

// Remove them in sorted reverse order to indices stay intact.
// Remove them in sorted reverse order for the indices to stay intact.
for &(el, comp) in remove_components.iter().rev() {
tariff.elements[el].price_components.remove(comp);
}
Expand Down

0 comments on commit b924714

Please sign in to comment.