lint and format

This commit is contained in:
SpikeHD
2023-04-21 18:10:05 -07:00
parent 45ecfcbeb3
commit 88b5b40300
2 changed files with 3 additions and 8 deletions

View File

@@ -55,5 +55,5 @@ pub async fn get_game_rsa_path() -> Option<String> {
let mut game_folder = PathBuf::from(config.game_install_path);
game_folder.pop();
Some(format!("{}/", game_folder.to_str().unwrap()).replace("\\", "/"))
Some(format!("{}/", game_folder.to_str().unwrap()).replace('\\', "/"))
}