Map AsyncWrite::shutdown to Sink::close. (#505)

This commit is contained in:
Toralf Wittner
2018-09-21 10:10:45 +02:00
committed by GitHub
parent a988926c3e
commit 3f3d81cc95

View File

@ -157,7 +157,7 @@ where
{
#[inline]
fn shutdown(&mut self) -> Poll<(), IoError> {
self.inner.poll_complete()
self.inner.close()
}
}