Clippy
This commit is contained in:
parent
cfbc7c75b6
commit
cb3c6284af
@ -339,7 +339,7 @@ impl<'a, 'b> AlbumState<'a, 'b> {
|
|||||||
if seq.0 > 0 {
|
if seq.0 > 0 {
|
||||||
format!("{} ({})", Self::display_album_date(date), seq.0)
|
format!("{} ({})", Self::display_album_date(date), seq.0)
|
||||||
} else {
|
} else {
|
||||||
format!("{}", Self::display_album_date(date))
|
Self::display_album_date(date)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -363,7 +363,7 @@ impl<'a, 'b> AlbumState<'a, 'b> {
|
|||||||
match primary {
|
match primary {
|
||||||
Some(ref primary) => {
|
Some(ref primary) => {
|
||||||
if secondary.is_empty() {
|
if secondary.is_empty() {
|
||||||
format!("{}", Self::display_primary_type(primary))
|
Self::display_primary_type(primary).to_string()
|
||||||
} else {
|
} else {
|
||||||
format!(
|
format!(
|
||||||
"{} ({})",
|
"{} ({})",
|
||||||
|
Loading…
Reference in New Issue
Block a user