diff options
Diffstat (limited to 'teleterm/src/cmd/stream.rs')
-rw-r--r-- | teleterm/src/cmd/stream.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/teleterm/src/cmd/stream.rs b/teleterm/src/cmd/stream.rs index 11d3873..0ca8dac 100644 --- a/teleterm/src/cmd/stream.rs +++ b/teleterm/src/cmd/stream.rs @@ -22,8 +22,7 @@ impl crate::config::Config for Config { fn run( &self, - ) -> Box<dyn futures::future::Future<Item = (), Error = Error> + Send> - { + ) -> Box<dyn futures::Future<Item = (), Error = Error> + Send> { let auth = match self.client.auth { crate::protocol::AuthType::Plain => { let username = self @@ -334,7 +333,7 @@ impl<S: tokio::io::AsyncRead + tokio::io::AsyncWrite + Send + 'static> #[must_use = "futures do nothing unless polled"] impl<S: tokio::io::AsyncRead + tokio::io::AsyncWrite + Send + 'static> - futures::future::Future for StreamSession<S> + futures::Future for StreamSession<S> { type Item = (); type Error = Error; |