diff options
author | David Orchard <if_coding@fastmail.com> | 2021-07-28 22:52:15 -0700 |
---|---|---|
committer | David Orchard <if_coding@fastmail.com> | 2021-08-15 10:31:18 -0700 |
commit | fc8cf0ed674cbb495df1baff34d4b832ca5fad3c (patch) | |
tree | a83c82ff11399ebd2da8d7ae58da31b7f295998c /tests/file_yaml.rs | |
parent | 62c84297e5340d717d89c5c0b36ed86dd5ad9d2f (diff) |
Use LinkedHashMap in place of HashMap
Diffstat (limited to 'tests/file_yaml.rs')
-rw-r--r-- | tests/file_yaml.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/file_yaml.rs b/tests/file_yaml.rs index 2ea9db4..4b1c108 100644 --- a/tests/file_yaml.rs +++ b/tests/file_yaml.rs @@ -7,7 +7,7 @@ extern crate serde; #[macro_use] extern crate serde_derive; -use std::collections::HashMap; +use linked_hash_map::LinkedHashMap; use std::path::PathBuf; use config::*; @@ -21,7 +21,7 @@ struct Place { favorite: bool, telephone: Option<String>, reviews: u64, - creator: HashMap<String, Value>, + creator: LinkedHashMap<String, Value>, rating: Option<f32>, } |