aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe-semver/src/constraint/match_none_constraint.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe-semver/src/constraint/match_none_constraint.rs')
-rw-r--r--crates/shirabe-semver/src/constraint/match_none_constraint.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/crates/shirabe-semver/src/constraint/match_none_constraint.rs b/crates/shirabe-semver/src/constraint/match_none_constraint.rs
index 5bfc6ea..4add794 100644
--- a/crates/shirabe-semver/src/constraint/match_none_constraint.rs
+++ b/crates/shirabe-semver/src/constraint/match_none_constraint.rs
@@ -34,6 +34,10 @@ impl ConstraintInterface for MatchNoneConstraint {
"[]".to_string()
}
+ fn as_any(&self) -> &dyn std::any::Any {
+ self
+ }
+
fn get_upper_bound(&self) -> Bound {
Bound::new("0.0.0.0-dev".to_string(), false)
}