diff options
Diffstat (limited to 'src/http')
| -rw-r--r-- | src/http/error.rs | 4 | ||||
| -rw-r--r-- | src/http/mod.rs | 12 | ||||
| -rw-r--r-- | src/http/ratelimiting.rs | 4 |
3 files changed, 10 insertions, 10 deletions
diff --git a/src/http/error.rs b/src/http/error.rs index 2a5adeb..b433cb5 100644 --- a/src/http/error.rs +++ b/src/http/error.rs @@ -2,8 +2,8 @@ use hyper::client::Response; use std::{ error::Error as StdError, fmt::{ - Display, - Formatter, + Display, + Formatter, Result as FmtResult } }; diff --git a/src/http/mod.rs b/src/http/mod.rs index a80f53a..6eab4c0 100644 --- a/src/http/mod.rs +++ b/src/http/mod.rs @@ -33,18 +33,18 @@ pub use hyper::status::{StatusClass, StatusCode}; use constants; use hyper::{ client::{ - Client as HyperClient, - Request, - RequestBuilder, + Client as HyperClient, + Request, + RequestBuilder, Response as HyperResponse }, header::ContentType, method::Method, mime::{Mime, SubLevel, TopLevel}, net::HttpsConnector, - header, - Error as HyperError, - Result as HyperResult, + header, + Error as HyperError, + Result as HyperResult, Url }; use hyper_native_tls::NativeTlsClient; diff --git a/src/http/ratelimiting.rs b/src/http/ratelimiting.rs index ad1ea8f..e9008b4 100644 --- a/src/http/ratelimiting.rs +++ b/src/http/ratelimiting.rs @@ -50,8 +50,8 @@ use std::{ collections::HashMap, sync::Arc, time::Duration, - str, - thread, + str, + thread, i64 }; use super::{HttpError, LightMethod}; |