summaryrefslogtreecommitdiffstats
path: root/src/value.rs
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2021-03-31 15:09:38 +0200
committerMatthias Beyer <mail@beyermatthias.de>2021-04-09 09:47:11 +0200
commit00db885e88bd3957872278d41f991046435d335c (patch)
treec63ee3f78681199bb23ce92197f010ee2618da79 /src/value.rs
parent938fd42200a2fc3e66c8f90b8d57b52c333d534d (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/value.rs')
-rw-r--r--src/value.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/value.rs b/src/value.rs
index 39d66bf..6a2af76 100644
--- a/src/value.rs
+++ b/src/value.rs
@@ -1,9 +1,11 @@
-use error::*;
-use serde::de::{Deserialize, Deserializer, Visitor};
use std::collections::HashMap;
use std::fmt;
use std::fmt::Display;
+use serde::de::{Deserialize, Deserializer, Visitor};
+
+use crate::error::*;
+
/// Underlying kind of the configuration value.
#[derive(Debug, Clone, PartialEq)]
pub enum ValueKind {