We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b43cf4 commit 486ff43Copy full SHA for 486ff43
Cargo.toml
@@ -1,6 +1,6 @@
1
[package]
2
name = "safety-net"
3
-version = "0.2.5"
+version = "0.2.6"
4
edition = "2024"
5
license = "MIT OR Apache-2.0"
6
src/attribute.rs
@@ -59,7 +59,7 @@ impl std::fmt::Display for Attribute {
59
}
60
61
62
-#[derive(Debug, Clone)]
+#[derive(Debug, Clone, PartialEq)]
63
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
64
/// A dedicated type to parameters for instantiables
65
pub enum Parameter {
@@ -71,6 +71,8 @@ pub enum Parameter {
71
BitVec(BitVec),
72
73
74
+impl Eq for Parameter {}
75
+
76
impl std::fmt::Display for Parameter {
77
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
78
match self {
0 commit comments