mirror of
https://github.com/starovoid/rxing.git
synced 2026-07-27 04:42:35 +00:00
standardize empty string to String::default()
This replaces "".to_owned() "".to_string() and String::from("")
This commit is contained in:
@@ -83,18 +83,18 @@ impl AddressBookParsedRXingResult {
|
||||
Self::with_details(
|
||||
names,
|
||||
Vec::new(),
|
||||
"".to_owned(),
|
||||
String::default(),
|
||||
phone_numbers,
|
||||
phone_types,
|
||||
emails,
|
||||
email_types,
|
||||
"".to_owned(),
|
||||
"".to_owned(),
|
||||
String::default(),
|
||||
String::default(),
|
||||
addresses,
|
||||
address_types,
|
||||
"".to_owned(),
|
||||
"".to_owned(),
|
||||
"".to_owned(),
|
||||
String::default(),
|
||||
String::default(),
|
||||
String::default(),
|
||||
Vec::new(),
|
||||
Vec::new(),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user