delint (clippy)
This commit is contained in:
parent
00e2daaecd
commit
7cd31bd425
8 changed files with 55 additions and 64 deletions
|
|
@ -89,9 +89,7 @@ impl<S: AsyncRead + AsyncWrite> Future for StreamStart<S> {
|
|||
} else {
|
||||
(StreamStartState::RecvFeatures(stream, stream_ns), Ok(Async::NotReady))
|
||||
},
|
||||
Ok(Async::Ready(_)) =>
|
||||
(StreamStartState::RecvFeatures(stream, stream_ns), Ok(Async::NotReady)),
|
||||
Ok(Async::NotReady) =>
|
||||
Ok(Async::Ready(_)) | Ok(Async::NotReady) =>
|
||||
(StreamStartState::RecvFeatures(stream, stream_ns), Ok(Async::NotReady)),
|
||||
Err(e) =>
|
||||
return Err(e),
|
||||
|
|
|
|||
Loading…
Reference in a new issue