⬆️ Update lofty requirement from 0.22.4 to 0.24.0 #9
Annotations
1 warning
|
Run clippy action:
src/app/screens/overlay/renameplaylist/handler.rs#L36
warning: this `if` can be collapsed into the outer `match`
--> src/app/screens/overlay/renameplaylist/handler.rs:36:13
|
36 | / if current_name.len() < 50 {
37 | | let mut new_name = current_name.to_string();
38 | | new_name.push(c);
39 | | app.ui.overlay = Some(crate::app::app_screen::Overlay::RenamePlaylist {
... |
42 | | });
43 | | }
| |_____________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.95.0/index.html#collapsible_match
= note: `#[warn(clippy::collapsible_match)]` on by default
help: collapse nested if block
|
34 ~ KeyCode::Char(c)
35 | // Add character (limit to reasonable length)
36 ~ if current_name.len() < 50 => {
37 | let mut new_name = current_name.to_string();
...
42 | });
43 ~ }
|
|
background
wait
wait-all
cancel
Loading