chore: fix clippy lints
This commit is contained in:
parent
71f7a0643a
commit
e9fb16353a
4 changed files with 11 additions and 8 deletions
|
|
@ -327,7 +327,7 @@ impl MapResponse<MusicAlbum> for response::MusicPlaylist {
|
|||
let year_txt = subtitle_split
|
||||
.swap_remove(2)
|
||||
.0
|
||||
.get(0)
|
||||
.first()
|
||||
.map(|c| c.as_str().to_owned());
|
||||
(year_txt, subtitle_split.try_swap_remove(1))
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue