mirror of
https://github.com/tribufu/rust-gamedig
synced 2026-06-01 09:42:41 +00:00
chore: replace ''.to_string with String::new
This commit is contained in:
parent
1dc3c6dade
commit
8b4f6083f1
1 changed files with 1 additions and 1 deletions
|
|
@ -271,7 +271,7 @@ impl ValveProtocol {
|
||||||
has_password,
|
has_password,
|
||||||
vac_secured,
|
vac_secured,
|
||||||
the_ship: None,
|
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,
|
extra_data: None,
|
||||||
is_mod,
|
is_mod,
|
||||||
mod_data,
|
mod_data,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue