refactor: replace cloned() with clone() for improved performance in multiple files

This commit is contained in:
Tunglies
2025-11-09 22:07:12 +08:00
parent 7f267fa727
commit e6c8f762db
4 changed files with 16 additions and 12 deletions
+1 -1
View File
@@ -274,7 +274,7 @@ impl Hotkey {
);
// Extract hotkeys data before async operations
let hotkeys = verge.data_arc().hotkeys.as_ref().cloned();
let hotkeys = verge.data_arc().hotkeys.clone();
if let Some(hotkeys) = hotkeys {
logging!(