Skip to content

Commit a45cbf3

Browse files
authored
make drivennet hashable (#47)
1 parent dabeb03 commit a45cbf3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "safety-net"
3-
version = "0.2.2"
3+
version = "0.2.3"
44
edition = "2024"
55
license = "MIT OR Apache-2.0"
66

src/netlist.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1000,7 +1000,7 @@ where
10001000
}
10011001

10021002
/// Represent a net that is being driven by a [Instantiable]
1003-
#[derive(Debug, Clone)]
1003+
#[derive(Debug, Clone, PartialEq, Eq, Hash)]
10041004
pub struct DrivenNet<I: Instantiable> {
10051005
pos: usize,
10061006
netref: NetRef<I>,

0 commit comments

Comments
 (0)