diff rust/chg/src/runcommand.rs @ 44685:90e05b304902

rust-chg: silence warning about dated coding style Differential Revision: https://phab.mercurial-scm.org/D8384
author Yuya Nishihara <yuya@tcha.org>
date Tue, 31 Mar 2020 23:25:26 +0900
parents ce088b38f92b
children 6bef9d43cc55
line wrap: on
line diff
--- 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<C, H> = io::Result<(AsyncS<(Client<C>, H, i32), CommandState<C, H>>)>;
+type CommandPoll<C, H> = io::Result<AsyncS<(Client<C>, H, i32), CommandState<C, H>>>;
 
 /// Future resolves to `(exit_code, client)`.
 #[must_use = "futures do nothing unless polled"]