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/format/json.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/file/format/json.rs') diff --git a/src/file/format/json.rs b/src/file/format/json.rs index 6a05051..568a16b 100644 --- a/src/file/format/json.rs +++ b/src/file/format/json.rs @@ -1,7 +1,9 @@ -use serde_json; use std::collections::HashMap; use std::error::Error; -use value::{Value, ValueKind}; + +use serde_json; + +use crate::value::{Value, ValueKind}; pub fn parse( uri: Option<&String>, -- cgit v1.2.3