Bunch of clippy fixes

This commit is contained in:
2023-01-28 22:52:46 +01:00
parent e914c17f81
commit d5d9b1c192
10 changed files with 23 additions and 30 deletions

View File

@@ -61,7 +61,7 @@ impl From<ParsedNetwork<'_>> for SimpleNetwork {
.map(|(_, flow, connected)| {
let connected = connected.into_iter().map(|name| mapping[&name]).collect();
SimpleValve { flow, connected }
SimpleValve { connected, flow }
})
.collect(),
start: mapping[&b"AA"[..]],