Skip to content

Commit cdd8f8e

Browse files
committed
actions: unfail both
1 parent 21e593e commit cdd8f8e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/gates.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ impl Gate for Xor {
138138
out: incrementer.next(),
139139
};
140140
let and = And {
141-
a: nand.out,
141+
a: or.out,
142142
b: nand.out,
143143
out: self.out,
144144
};

src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
use std::rc::Rc;
22

3-
use complogic::{And, DLatch, Simulation};
3+
use complogic::{DLatch, Simulation};
44

55
fn main() {
66
let mut simulation = Simulation::new(2);

0 commit comments

Comments
 (0)