From 928fd4314db88c623ea991de4e6e669027f57848 Mon Sep 17 00:00:00 2001 From: Nathan Perry Date: Thu, 24 Jan 2019 19:03:37 -0500 Subject: improve imports --- src/main.rs | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs index 2974eea..de2d3c5 100644 --- a/src/main.rs +++ b/src/main.rs @@ -18,10 +18,18 @@ extern crate sha1; extern crate typemap; extern crate url; +use std::{ + env, + thread, + time::{ + Duration, + Instant + }, +}; + + use dotenv::dotenv; use failure::Error; -use self::commands::register_commands; -pub use self::util::*; use serenity::{ framework::{ standard::help_commands, @@ -33,15 +41,9 @@ use serenity::{ }, prelude::*, }; -use std::{ - env, - thread, - time::{ - Duration, - Instant - }, -}; +use self::commands::register_commands; +pub use self::util::*; #[cfg(feature = "diesel")] mod db; -- cgit v1.3.1