From bf8d8c0044f4499f1977389923df8851fffcecd6 Mon Sep 17 00:00:00 2001 From: Alpha Chen Date: Sun, 17 Jan 2016 22:17:12 -0800 Subject: [PATCH] [rust][7.1] Do part two of day 7 --- rust/src/day_07.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/rust/src/day_07.rs b/rust/src/day_07.rs index 197eb70..df4b748 100644 --- a/rust/src/day_07.rs +++ b/rust/src/day_07.rs @@ -23,6 +23,7 @@ NOT y -> i"; pub fn solve(input: &str, wire_id: &str) -> u16 { let mut circuit = Circuit::new(input); + circuit.connections.insert(Wire("b"), Signal::Value(3176)); circuit.signal_on(wire_id) }