From 7f25d130c1e4ec8f57d91f87cb5420696e9ed774 Mon Sep 17 00:00:00 2001 From: GeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com> Date: Thu, 23 Mar 2023 00:07:26 +0100 Subject: fix: Remove unnecessary `.to_string()` (#230) Thanks clippy <3 --- src-tauri/src/platform_specific/windows.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src-tauri/src/platform_specific') diff --git a/src-tauri/src/platform_specific/windows.rs b/src-tauri/src/platform_specific/windows.rs index 21772b91..5d054808 100644 --- a/src-tauri/src/platform_specific/windows.rs +++ b/src-tauri/src/platform_specific/windows.rs @@ -18,7 +18,7 @@ pub fn origin_install_location_detection() -> Result { return Ok(game_path_str.to_string()); } Err(err) => { - println!("{}", err.to_string()); + println!("{}", err); continue; // Not a valid game path } } -- cgit v1.2.3