chore: replace ''.to_string with String::new

This commit is contained in:
CosminPerRam 2023-12-11 03:21:39 +02:00
parent 1dc3c6dade
commit 8b4f6083f1

View file

@ -271,7 +271,7 @@ impl ValveProtocol {
has_password,
vac_secured,
the_ship: None,
game_version: "".to_string(), // a version field only for the mod
game_version: String::new(), // a version field only for the mod
extra_data: None,
is_mod,
mod_data,