mirror of
https://github.com/bertptrs/adventofcode.git
synced 2025-12-26 21:30:31 +01:00
Bunch of clippy fixes
This commit is contained in:
@@ -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"[..]],
|
||||
|
||||
Reference in New Issue
Block a user