Skip to content
Snippets Groups Projects
Commit 90e05b30 authored by Yuya Nishihara's avatar Yuya Nishihara
Browse files

rust-chg: silence warning about dated coding style

Differential Revision: https://phab.mercurial-scm.org/D8384
parent 80d6e341
No related branches found
No related tags found
No related merge requests found
......@@ -152,7 +152,7 @@
fn new_parse_error<E>(error: E) -> io::Error
where
E: Into<Box<error::Error + Send + Sync>>,
E: Into<Box<dyn error::Error + Send + Sync>>,
{
io::Error::new(io::ErrorKind::InvalidData, error)
}
......
......@@ -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"]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment