From b6e39450ce48d4b19c0095952df867e31fe5a51d Mon Sep 17 00:00:00 2001 From: quininer Date: Wed, 17 Apr 2019 10:42:57 +0800 Subject: [PATCH] fix clippy --- src/client.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/client.rs b/src/client.rs index c4d93ee..9d57268 100644 --- a/src/client.rs +++ b/src/client.rs @@ -83,8 +83,6 @@ where IO: AsyncRead + AsyncWrite match self.state { #[cfg(feature = "early-data")] TlsState::EarlyData => { - use std::io::Write; - { let mut stream = Stream::new(&mut self.io, &mut self.session); let (pos, data) = &mut self.early_data;