diff options
| author | Zeyla Hellyer <[email protected]> | 2018-06-17 15:53:09 -0700 |
|---|---|---|
| committer | Zeyla Hellyer <[email protected]> | 2018-06-17 15:53:09 -0700 |
| commit | 6ddfef8359a619be9a49be7b33b466724eed0ecb (patch) | |
| tree | 5fb9c070b1650b95aa6b5713b3630fc253095275 /src/http | |
| parent | Fix Args test (diff) | |
| download | serenity-6ddfef8359a619be9a49be7b33b466724eed0ecb.tar.xz serenity-6ddfef8359a619be9a49be7b33b466724eed0ecb.zip | |
Remove extraneous spaces at the end of lines
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}; |