From b92471461adc4b8b39b1dd30e4db1d525fd8a2e4 Mon Sep 17 00:00:00 2001 From: Remo Date: Thu, 21 Nov 2024 14:31:54 +0100 Subject: [PATCH] typo --- ocpi-tariffs/src/normalize.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ocpi-tariffs/src/normalize.rs b/ocpi-tariffs/src/normalize.rs index 10bfb94..cf4af0d 100644 --- a/ocpi-tariffs/src/normalize.rs +++ b/ocpi-tariffs/src/normalize.rs @@ -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); }