![]() # Objective Currently `App::edit_schedule` takes in `impl FnMut(&mut Schedule)`, but it calls the function only once. It is probably the intention has been to have it take `FnOnce` instead. ## Solution - Relax the parameter to take `FnOnce` instead of `FnMut` |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |