nolooking icon indicating copy to clipboard operation
nolooking copied to clipboard

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

Open DanGould opened this issue 2 years ago • 0 comments

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 avatar Nov 18 '22 15:11 DanGould