standardize empty string to String::default()

This replaces "".to_owned() "".to_string() and String::from("")
This commit is contained in:
Henry Schimke
2023-02-04 13:13:05 -06:00
parent ae7562af28
commit 92f15be032
26 changed files with 102 additions and 108 deletions

View File

@@ -62,18 +62,18 @@ pub fn parse(result: &RXingResult) -> Option<ParsedClientResult> {
Vec::new()
},
Vec::new(),
pronunciation.unwrap_or_default(), //"".to_owned(),
pronunciation.unwrap_or_default(),
phoneNumbers,
Vec::new(),
emails, //Vec::new(),
Vec::new(),
"".to_owned(),
String::default(),
note,
addresses,
Vec::new(),
"".to_owned(),
"".to_owned(),
"".to_owned(),
String::default(),
String::default(),
String::default(),
Vec::new(),
Vec::new(),
) {