-
Notifications
You must be signed in to change notification settings - Fork 283
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update indexmap dependency & fix compiler warnings #758
Changes from 3 commits
6aee8f4
48d7d3e
bdee7c4
56183de
0ba2cf2
cbded0a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -168,7 +168,7 @@ impl<F: Future> common::Drive<F> for FuturesOrdered<F> { | |
} | ||
|
||
fn push(&mut self, future: F) { | ||
FuturesOrdered::push(self, future) | ||
FuturesOrdered::push_back(self, future) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This needs |
||
} | ||
|
||
fn poll(&mut self, cx: &mut Context<'_>) -> Poll<Option<F::Output>> { | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -174,7 +174,7 @@ mod tests { | |
let mut r = HasherRng::default(); | ||
match super::sample_floyd2(&mut r, 2) { | ||
[0, 1] | [1, 0] => (), | ||
err => panic!("{err:?}"), | ||
err => panic!("{:?}", err), | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ah, the previous format would be fine if the crate upgraded to 2021 edition -- which it could do with the new MSRV, but that might be a bigger change than desired right now. |
||
} | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is needed to fix the minimal version used in tests, per #670, or else you get: