diff options
Diffstat (limited to 'src/test_helpers/assertions/assert_results.rs')
-rw-r--r-- | src/test_helpers/assertions/assert_results.rs | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/test_helpers/assertions/assert_results.rs b/src/test_helpers/assertions/assert_results.rs index e53c01b..84d118c 100644 --- a/src/test_helpers/assertions/assert_results.rs +++ b/src/test_helpers/assertions/assert_results.rs @@ -73,15 +73,6 @@ impl PartialEq for ArtifactCompareWrapper { } } -// impl PartialEq<Artifact> for ArtifactCompareWrapper { -// fn eq(&self, other: &Artifact) -> bool { -// match self { -// ArtifactCompareWrapper::Any => true, -// ArtifactCompareWrapper::Artifact(a) => compare_artifact(a, other), -// } -// } -// } - impl Debug for ArtifactCompareWrapper { fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { match self { @@ -98,7 +89,7 @@ impl From<Artifact> for ArtifactCompareWrapper { } impl From<AnyArtifact> for ArtifactCompareWrapper { - fn from(value: AnyArtifact) -> Self { + fn from(_: AnyArtifact) -> Self { Self::Any } } |