fix clippy

This commit is contained in:
quininer 2019-04-17 10:42:57 +08:00
parent b1a98b9088
commit b6e39450ce

View File

@ -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;