diff options
| author | Nathan Perry <avaglir@gmail.com> | 2019-01-24 19:03:37 -0500 |
|---|---|---|
| committer | Nathan Perry <avaglir@gmail.com> | 2019-01-24 19:03:37 -0500 |
| commit | 928fd4314db88c623ea991de4e6e669027f57848 (patch) | |
| tree | 44099fa3a374e10c6e0e49c889a8197da50ac841 /src/main.rs | |
| parent | 2c7c7c688593a758aed199ff7aedc54b3f2c34a1 (diff) | |
improve imports
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 22 |
1 files changed, 12 insertions, 10 deletions
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; |
