mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-06-29 01:31:33 +00:00
Implement close() from Sink (#492)
This commit is contained in:
@ -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]
|
||||
|
Reference in New Issue
Block a user