fix: drop redundant references in format arguments

The borrows were passed straight to format!, which already takes its
arguments by reference. Clears the last of the compiler warnings.
This commit is contained in:
Dark-Alex-17 committed 2026-09-08 15:56:38 -06:00
1 parent 59346973fc
commit 720584ea17
5 files changed
+10 -10

No files matched your search

+2 -2
View File
@@ -440,12 +440,12 @@ fn draw_manual_album_search_confirm_prompt(f: &mut Frame<'_>, app: &mut App<'_>)
let prompt = if current_selection.rejected {
format!(
"Do you really want to download the rejected release: {}?",
&current_selection.title.text
current_selection.title.text
)
} else {
format!(
"Do you want to download the release: {}?",
&current_selection.title.text
current_selection.title.text
)
};
@@ -566,12 +566,12 @@ fn draw_manual_artist_search_confirm_prompt(f: &mut Frame<'_>, app: &mut App<'_>
let prompt = if current_selection.rejected {
format!(
"Do you really want to download the rejected release: {}?",
&current_selection.title.text
current_selection.title.text
)
} else {
format!(
"Do you want to download the release: {}?",
&current_selection.title.text
current_selection.title.text
)
};