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:
@@ -57,8 +57,8 @@ pub fn parse(result: &RXingResult) -> Option<ParsedClientResult> {
|
||||
Some(ParsedClientResult::SMSResult(
|
||||
SMSParsedRXingResult::with_singles(
|
||||
number.to_owned(),
|
||||
String::from(""),
|
||||
String::from(""),
|
||||
String::default(),
|
||||
String::default(),
|
||||
body.to_owned(),
|
||||
),
|
||||
))
|
||||
|
||||
Reference in New Issue
Block a user