Avoid using HashMap for coherent iteration order

This commit is contained in:
traxys 2023-12-09 19:05:26 +01:00
parent afccfcfb56
commit 283cf7a4a5

View file

@ -1,5 +1,5 @@
use std::{
collections::{BTreeMap, HashMap},
collections::BTreeMap,
fs::File,
io::BufReader,
num::NonZeroU8,
@ -209,7 +209,7 @@ struct Report {
#[serde(default)]
savings: BTreeMap<String, f64>,
#[serde(default)]
variable: HashMap<String, String>,
variable: BTreeMap<String, String>,
#[serde(default)]
earnings_1: f64,
#[serde(default)]