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::{
|
||||
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)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue