Avoid using HashMap for coherent iteration order
This commit is contained in:
parent
afccfcfb56
commit
283cf7a4a5
1 changed files with 2 additions and 2 deletions
|
|
@ -1,5 +1,5 @@
|
||||||
use std::{
|
use std::{
|
||||||
collections::{BTreeMap, HashMap},
|
collections::BTreeMap,
|
||||||
fs::File,
|
fs::File,
|
||||||
io::BufReader,
|
io::BufReader,
|
||||||
num::NonZeroU8,
|
num::NonZeroU8,
|
||||||
|
|
@ -209,7 +209,7 @@ struct Report {
|
||||||
#[serde(default)]
|
#[serde(default)]
|
||||||
savings: BTreeMap<String, f64>,
|
savings: BTreeMap<String, f64>,
|
||||||
#[serde(default)]
|
#[serde(default)]
|
||||||
variable: HashMap<String, String>,
|
variable: BTreeMap<String, String>,
|
||||||
#[serde(default)]
|
#[serde(default)]
|
||||||
earnings_1: f64,
|
earnings_1: f64,
|
||||||
#[serde(default)]
|
#[serde(default)]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue