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:
5 files changed
+10
-10
No files matched your search
@@ -487,12 +487,12 @@ fn draw_manual_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: {}?",
|
||||
¤t_selection.title.text
|
||||
current_selection.title.text
|
||||
)
|
||||
} else {
|
||||
format!(
|
||||
"Do you want to download the release: {}?",
|
||||
¤t_selection.title.text
|
||||
current_selection.title.text
|
||||
)
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user