diff --git a/rust/chg/src/message.rs b/rust/chg/src/message.rs --- a/rust/chg/src/message.rs +++ b/rust/chg/src/message.rs @@ -152,7 +152,7 @@ fn new_parse_error(error: E) -> io::Error where - E: Into>, + E: Into>, { io::Error::new(io::ErrorKind::InvalidData, error) } diff --git a/rust/chg/src/runcommand.rs b/rust/chg/src/runcommand.rs --- a/rust/chg/src/runcommand.rs +++ b/rust/chg/src/runcommand.rs @@ -37,7 +37,7 @@ Finished, } -type CommandPoll = io::Result<(AsyncS<(Client, H, i32), CommandState>)>; +type CommandPoll = io::Result, H, i32), CommandState>>; /// Future resolves to `(exit_code, client)`. #[must_use = "futures do nothing unless polled"]