nolooking
nolooking copied to clipboard
Error with `.expect()` instead off `.unwrap()` where code should indeed panic
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.