From 00db885e88bd3957872278d41f991046435d335c Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Wed, 31 Mar 2021 15:09:38 +0200 Subject: Ensure order in the galaxy... I mean the imports This patch sorts the imports: 1. std imports 2. external crate imports 3. own module imports In three blocks, each alphabetically (with is also enforced by rustfmt). As well as it prefixes the imports of own modules with crate:: This is just a quality-of-life patch :-) Signed-off-by: Matthias Beyer --- tests/file_yaml.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tests/file_yaml.rs') diff --git a/tests/file_yaml.rs b/tests/file_yaml.rs index 892875e..b2746cd 100644 --- a/tests/file_yaml.rs +++ b/tests/file_yaml.rs @@ -7,11 +7,12 @@ extern crate serde; #[macro_use] extern crate serde_derive; -use config::*; -use float_cmp::ApproxEqUlps; use std::collections::HashMap; use std::path::PathBuf; +use config::*; +use float_cmp::ApproxEqUlps; + #[derive(Debug, Deserialize)] struct Place { name: String, -- cgit v1.2.3