diff --git a/src/config.rs b/src/config.rs index cb18a54..02a4e62 100644 --- a/src/config.rs +++ b/src/config.rs @@ -3,8 +3,8 @@ * configuration file */ use serde::de::{Deserialize, Deserializer}; -use std::str::FromStr; use std::collections::HashMap; +use std::str::FromStr; #[derive(Debug, Deserialize)] #[serde(rename_all = "camelCase")] @@ -95,7 +95,8 @@ mod tests { fn test_deserialize_example_config() { let mut f = File::open("urci.yml").unwrap(); let mut yaml = String::new(); - f.read_to_string(&mut yaml).expect("Failed to read into string"); + f.read_to_string(&mut yaml) + .expect("Failed to read into string"); let _config: Config = serde_yaml::from_str(&yaml).expect("Failed to parse the yaml"); }