cargo fmt

This commit is contained in:
Henry Schimke
2023-01-27 15:25:19 -06:00
parent 42d40de755
commit 465485d1f4
7 changed files with 13 additions and 37 deletions

View File

@@ -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;
}