diff options
| author | acdenisSK <[email protected]> | 2018-03-29 12:10:43 +0200 |
|---|---|---|
| committer | acdenisSK <[email protected]> | 2018-03-29 12:11:23 +0200 |
| commit | 4c05e828d5191975ef1a5e1ac581b646a69d2c25 (patch) | |
| tree | fb583f88a1e5d192651b399aca1839f3f58e661e /src/http/error.rs | |
| parent | Add a connection timeout (diff) | |
| download | serenity-4c05e828d5191975ef1a5e1ac581b646a69d2c25.tar.xz serenity-4c05e828d5191975ef1a5e1ac581b646a69d2c25.zip | |
Refactor imports/exports to use nested groups and better formatting
Diffstat (limited to 'src/http/error.rs')
| -rw-r--r-- | src/http/error.rs | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/http/error.rs b/src/http/error.rs index 12de978..2a5adeb 100644 --- a/src/http/error.rs +++ b/src/http/error.rs @@ -1,6 +1,12 @@ use hyper::client::Response; -use std::error::Error as StdError; -use std::fmt::{Display, Formatter, Result as FmtResult}; +use std::{ + error::Error as StdError, + fmt::{ + Display, + Formatter, + Result as FmtResult + } +}; #[derive(Debug)] pub enum Error { |