# HG changeset patch # User Yuya Nishihara # Date 1585664726 -32400 # Node ID 90e05b3049022568f05e5649699762dc2571c771 # Parent 80d6e3415636142a3b9734776dbef4d71bad4f15 rust-chg: silence warning about dated coding style Differential Revision: https://phab.mercurial-scm.org/D8384 diff -r 80d6e3415636 -r 90e05b304902 rust/chg/src/message.rs --- a/rust/chg/src/message.rs Mon Nov 19 20:50:45 2018 +0900 +++ b/rust/chg/src/message.rs Tue Mar 31 23:25:26 2020 +0900 @@ -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 -r 80d6e3415636 -r 90e05b304902 rust/chg/src/runcommand.rs --- a/rust/chg/src/runcommand.rs Mon Nov 19 20:50:45 2018 +0900 +++ b/rust/chg/src/runcommand.rs Tue Mar 31 23:25:26 2020 +0900 @@ -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"]