diff options
author | Sven-Hendrik Haase <svenstaro@gmail.com> | 2022-09-20 01:56:08 +0000 |
---|---|---|
committer | Sven-Hendrik Haase <svenstaro@gmail.com> | 2022-09-20 01:56:08 +0000 |
commit | 8f932897bed0a51a279369dab75afe05cc0bd830 (patch) | |
tree | b93087d474a6e3bd441c4f1bf571a0aa7231399d /src/pipe.rs | |
parent | Get rid of some unused dependencies (diff) | |
download | miniserve-8f932897bed0a51a279369dab75afe05cc0bd830.tar.gz miniserve-8f932897bed0a51a279369dab75afe05cc0bd830.zip |
Tidy up some imports
Diffstat (limited to '')
-rw-r--r-- | src/pipe.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pipe.rs b/src/pipe.rs index 6bf32c2..51f094a 100644 --- a/src/pipe.rs +++ b/src/pipe.rs @@ -1,9 +1,10 @@ //! Define an adapter to implement `std::io::Write` on `Sender<Bytes>`. +use std::io::{self, Error, ErrorKind, Write}; + use actix_web::web::{Bytes, BytesMut}; use futures::channel::mpsc::Sender; use futures::executor::block_on; use futures::sink::SinkExt; -use std::io::{self, Error, ErrorKind, Write}; /// Adapter to implement the `std::io::Write` trait on a `Sender<Bytes>` from a futures channel. /// |