Implement close() from Sink (#492)

This commit is contained in:
Pierre Krieger
2018-09-17 15:01:37 +02:00
committed by GitHub
parent 3e53a9dcc7
commit 0c43c76965
9 changed files with 41 additions and 1 deletions

View File

@ -196,6 +196,9 @@ mod tests {
fn poll_complete(&mut self) -> Poll<(), Self::SinkError> {
self.1.poll_complete()
}
fn close(&mut self) -> Poll<(), Self::SinkError> {
self.1.close()
}
}
#[test]