From 57d91d9ab2872c1045a61c480d6698c5c8805fa0 Mon Sep 17 00:00:00 2001 From: zhom <2717306+zhom@users.noreply.github.com> Date: Sun, 21 Dec 2025 19:30:06 +0400 Subject: [PATCH] refactor: store handle in a variable instead of casting --- src-tauri/src/traffic_stats.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src-tauri/src/traffic_stats.rs b/src-tauri/src/traffic_stats.rs index 8b8d5b7..3d4416a 100644 --- a/src-tauri/src/traffic_stats.rs +++ b/src-tauri/src/traffic_stats.rs @@ -306,7 +306,8 @@ fn acquire_file_lock(lock_path: &PathBuf) -> Result