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 --- src/config.rs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/config.rs') diff --git a/src/config.rs b/src/config.rs index b476ffe..2b6c5b6 100644 --- a/src/config.rs +++ b/src/config.rs @@ -1,14 +1,14 @@ -use serde::de::Deserialize; -use serde::ser::Serialize; use std::collections::HashMap; use std::fmt::Debug; -use error::*; -use ser::ConfigSerializer; -use source::Source; +use serde::de::Deserialize; +use serde::ser::Serialize; -use path; -use value::{Table, Value}; +use crate::error::*; +use crate::path; +use crate::ser::ConfigSerializer; +use crate::source::Source; +use crate::value::{Table, Value}; /// A prioritized configuration repository. It maintains a set of /// configuration sources, fetches values to populate those, and provides -- cgit v1.2.3