diff options
author | doug tangren <d.tangren@gmail.com> | 2018-12-24 13:11:02 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-24 13:11:02 +0900 |
commit | ebe4a2d80dffb89d1fbceb14dbac3dc6da004fb8 (patch) | |
tree | ab56800af4f921388035fd6d9f318f9ec0bd97cc /src/errors.rs | |
parent | 3c06c3a11ba1f7d362bde8b14d94b07b529850e8 (diff) |
update to 2018 edition (#141)
* update to 2018 edition
* remove more externs
* bump version
Diffstat (limited to 'src/errors.rs')
-rw-r--r-- | src/errors.rs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/errors.rs b/src/errors.rs index 8392971..f363ffd 100644 --- a/src/errors.rs +++ b/src/errors.rs @@ -3,10 +3,7 @@ use http; use hyper::{self, StatusCode}; use serde_json::Error as SerdeError; -use std::error::Error as StdError; -use std::fmt; -use std::io::Error as IoError; -use std::string::FromUtf8Error; +use std::{error::Error as StdError, fmt, io::Error as IoError, string::FromUtf8Error}; #[derive(Debug)] pub enum Error { |