summaryrefslogtreecommitdiffstats
path: root/tokio-util/src/codec/framed.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tokio-util/src/codec/framed.rs')
-rw-r--r--tokio-util/src/codec/framed.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/tokio-util/src/codec/framed.rs b/tokio-util/src/codec/framed.rs
index a3715c24..194c9bef 100644
--- a/tokio-util/src/codec/framed.rs
+++ b/tokio-util/src/codec/framed.rs
@@ -3,7 +3,10 @@ use crate::codec::encoder::Encoder;
use crate::codec::framed_read::{framed_read2, framed_read2_with_buffer, FramedRead2};
use crate::codec::framed_write::{framed_write2, framed_write2_with_buffer, FramedWrite2};
-use tokio::{io::{AsyncBufRead, AsyncRead, AsyncWrite}, stream::Stream};
+use tokio::{
+ io::{AsyncBufRead, AsyncRead, AsyncWrite},
+ stream::Stream,
+};
use bytes::BytesMut;
use futures_sink::Sink;