Skip to content

Conversation

pesho-ivanov
Copy link
Collaborator

Fixes the following compilation error:

cargo test
[...]
error[E0277]: expected a FnMut(&mut T) closure, found RangeFull
--> astarpa/src/bucket_queue.rs:220:17
|
220 | ... self.tip_queue.layers[f].extract_if(.., |data| O::from_t(data) <= self.tip_start)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected an FnMut(&mut T) closure, found RangeFull
[...]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant