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/file/mod.rs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/file/mod.rs') diff --git a/src/file/mod.rs b/src/file/mod.rs index 73dfad4..b00a271 100644 --- a/src/file/mod.rs +++ b/src/file/mod.rs @@ -1,11 +1,12 @@ mod format; pub mod source; -use error::*; -use source::Source; use std::collections::HashMap; use std::path::{Path, PathBuf}; -use value::Value; + +use crate::error::*; +use crate::source::Source; +use crate::value::Value; pub use self::format::FileFormat; use self::source::FileSource; -- cgit v1.2.3