diff options
author | Jesse Luehrs <doy@tozt.net> | 2019-11-16 10:48:23 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2019-11-16 10:48:23 -0500 |
commit | c3aed08259c794290d8cf21fe0712b36d4c5f523 (patch) | |
tree | 3a064d859bdc258c99f554c952643eeb2f043ce4 /teleterm/src/cmd/watch.rs | |
parent | b8d8dbf0ff086825ce226b02603035601fbf955f (diff) | |
download | teleterm-c3aed08259c794290d8cf21fe0712b36d4c5f523.tar.gz teleterm-c3aed08259c794290d8cf21fe0712b36d4c5f523.zip |
shorter names
Diffstat (limited to 'teleterm/src/cmd/watch.rs')
-rw-r--r-- | teleterm/src/cmd/watch.rs | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/teleterm/src/cmd/watch.rs b/teleterm/src/cmd/watch.rs index d5e4a9f..fa5fdd1 100644 --- a/teleterm/src/cmd/watch.rs +++ b/teleterm/src/cmd/watch.rs @@ -20,8 +20,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 @@ -194,10 +193,8 @@ struct WatchSession< key_reader: crate::key_reader::KeyReader, list_client: crate::client::Client<S>, resizer: Box< - dyn futures::stream::Stream< - Item = (u16, u16), - Error = crate::error::Error, - > + Send, + dyn futures::Stream<Item = (u16, u16), Error = crate::error::Error> + + Send, >, state: State<S>, raw_screen: Option<crossterm::screen::RawScreen>, @@ -644,7 +641,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 WatchSession<S> + futures::Future for WatchSession<S> { type Item = (); type Error = Error; |