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

Error with .expect() instead off .unwrap() where code should indeed panic #72

Open
DanGould opened this issue Nov 18, 2022 · 0 comments
Labels
good first issue Good for newcomers

Comments

@DanGould
Copy link
Contributor

There are a few spots in the scheduler.rs where the code should indeed panic. .expect() instead of .unwrap() to document why

on handle.await and pjs.lock() and iter.next().unwrap(); // we assume there is at least 1.

@DanGould DanGould added the good first issue Good for newcomers label Nov 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant