From fc8cf0ed674cbb495df1baff34d4b832ca5fad3c Mon Sep 17 00:00:00 2001 From: David Orchard Date: Wed, 28 Jul 2021 22:52:15 -0700 Subject: Use LinkedHashMap in place of HashMap --- tests/file_yaml.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/file_yaml.rs') 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, reviews: u64, - creator: HashMap, + creator: LinkedHashMap, rating: Option, } -- cgit v1.2.3