mirror of
https://github.com/Grasscutters/Cultivation.git
synced 2025-12-14 16:14:48 +01:00
lint and format
This commit is contained in:
@@ -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('\\', "/"))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user