From 8f932897bed0a51a279369dab75afe05cc0bd830 Mon Sep 17 00:00:00 2001 From: Sven-Hendrik Haase Date: Tue, 20 Sep 2022 03:56:08 +0200 Subject: Tidy up some imports --- src/pipe.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/pipe.rs') 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`. +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` from a futures channel. /// -- cgit v1.2.3