summaryrefslogtreecommitdiffstats
path: root/src/read.rs
diff options
context:
space:
mode:
authordoug tangren <d.tangren@gmail.com>2018-12-24 13:11:02 +0900
committerGitHub <noreply@github.com>2018-12-24 13:11:02 +0900
commitebe4a2d80dffb89d1fbceb14dbac3dc6da004fb8 (patch)
treeab56800af4f921388035fd6d9f318f9ec0bd97cc /src/read.rs
parent3c06c3a11ba1f7d362bde8b14d94b07b529850e8 (diff)
update to 2018 edition (#141)
* update to 2018 edition * remove more externs * bump version
Diffstat (limited to 'src/read.rs')
-rw-r--r--src/read.rs8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/read.rs b/src/read.rs
index 847ee21..b9dc5ef 100644
--- a/src/read.rs
+++ b/src/read.rs
@@ -1,8 +1,10 @@
-use errors::Error;
+use crate::errors::Error;
use futures::{Async, Stream};
use hyper::Chunk;
-use std::cmp;
-use std::io::{self, Read};
+use std::{
+ cmp,
+ io::{self, Read},
+};
use tokio_io::AsyncRead;
/*