diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2021-03-31 15:09:38 +0200 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2021-04-09 09:47:11 +0200 |
commit | 00db885e88bd3957872278d41f991046435d335c (patch) | |
tree | c63ee3f78681199bb23ce92197f010ee2618da79 /src/config.rs | |
parent | 938fd42200a2fc3e66c8f90b8d57b52c333d534d (diff) |
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 <mail@beyermatthias.de>
Diffstat (limited to 'src/config.rs')
-rw-r--r-- | src/config.rs | 14 |
1 files changed, 7 insertions, 7 deletions
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 |