chore: Fix new clippy lints

This commit is contained in:
Kévin Commaille
2023-07-04 11:48:34 +02:00
committed by Kévin Commaille
parent ae83055119
commit c77f08024a
3 changed files with 4 additions and 11 deletions

View File

@@ -1174,15 +1174,8 @@ mod tests {
.collect::<Vec<_>>()
);
let expected = vec![
"$CREATE:foo",
"$IJR:foo",
"$PA:foo",
"$IMA:foo",
"$IMB:foo",
"$IMC:foo",
"$MB:foo",
];
let expected =
["$CREATE:foo", "$IJR:foo", "$PA:foo", "$IMA:foo", "$IMB:foo", "$IMC:foo", "$MB:foo"];
for id in expected.iter().map(|i| event_id(i)) {
// make sure our resolved events are equal to the expected list