mirror of
https://github.com/starovoid/rxing.git
synced 2026-07-26 04:12:34 +00:00
cargo fmt
This commit is contained in:
@@ -88,12 +88,8 @@ fn matchMultipleValuePrefix(prefix: &str, rawText: &str) -> Vec<String> {
|
||||
// For now, always 3, and always trim
|
||||
for i in 1..=3 {
|
||||
// for (int i = 1; i <= 3; i++) {
|
||||
let value = ResultParser::matchSinglePrefixedField(
|
||||
&format!("{prefix}{i}:"),
|
||||
rawText,
|
||||
'\r',
|
||||
true,
|
||||
);
|
||||
let value =
|
||||
ResultParser::matchSinglePrefixedField(&format!("{prefix}{i}:"), rawText, '\r', true);
|
||||
if value.is_none() {
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user