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

Panicked while calling peek on a empty PriorityQueue #3

Closed
zonyitoo opened this issue Aug 16, 2017 · 1 comment
Closed

Panicked while calling peek on a empty PriorityQueue #3

zonyitoo opened this issue Aug 16, 2017 · 1 comment
Assignees
Labels

Comments

@zonyitoo
Copy link

https://github.com/garro95/priority-queue/blob/master/src/pqueue.rs#L90

thread 'main' panicked at 'index out of bounds: the len is 0 but the index is 0', /Users/travis/build/rust-lang/rust/src/libcollections/vec.rs:1552
@garro95
Copy link
Owner

garro95 commented Aug 16, 2017

Fixed in crate version 0.3.1. Thanks for reporting

@garro95 garro95 self-assigned this Aug 16, 2017
@garro95 garro95 added the bug label Aug 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants