mirror of
https://github.com/starovoid/rxing.git
synced 2026-07-27 12:52:34 +00:00
standardize empty string to String::default()
This replaces "".to_owned() "".to_string() and String::from("")
This commit is contained in:
@@ -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(),
|
||||
) {
|
||||
|
||||
Reference in New Issue
Block a user