Start writing tests

This commit is contained in:
Carl Lerche
2017-06-29 20:59:21 -07:00
parent 0564747121
commit 63ffea61f5
3 changed files with 97 additions and 2 deletions

View File

@@ -120,6 +120,7 @@ impl<T> Sink for Settings<T>
}
fn poll_complete(&mut self) -> Poll<(), ConnectionError> {
trace!("Settings::poll_complete");
try_ready!(self.try_send_pending());
self.inner.poll_complete()
}