Skip to content
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

Use queue type for state API #10

Merged
merged 2 commits into from
Jan 19, 2021
Merged

Use queue type for state API #10

merged 2 commits into from
Jan 19, 2021

Conversation

elshize
Copy link
Owner

@elshize elshize commented Jan 19, 2021

#8 introduced a bug that always used Fifo for downcasting, and therefore there would be a panic if another type of queue was used. This fixes it by using the type of queue rather than element for the IDs.

Additionally, Queue is now not generic but rather has an associated type Item.

@elshize elshize added the bug Something isn't working label Jan 19, 2021
@elshize elshize added this to the v0.1.2 milestone Jan 19, 2021
@elshize elshize self-assigned this Jan 19, 2021
@elshize elshize merged commit c6f6e02 into main Jan 19, 2021
@elshize elshize deleted the fn-priority-queue branch January 19, 2021 16:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant