Skip to content

Commit 33a61ed

Browse files
authored
views/krate_publish: Remove unused PartialEq impl (#7222)
1 parent 466861e commit 33a61ed

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/views/krate_publish.rs

-9
Original file line numberDiff line numberDiff line change
@@ -54,15 +54,6 @@ impl<'de> Deserialize<'de> for EncodableCrateName {
5454
}
5555
}
5656

57-
impl<T: ?Sized> PartialEq<T> for EncodableCrateName
58-
where
59-
String: PartialEq<T>,
60-
{
61-
fn eq(&self, rhs: &T) -> bool {
62-
self.0 == *rhs
63-
}
64-
}
65-
6657
#[derive(Serialize, Clone, Debug, Deref)]
6758
pub struct EncodableDependencyName(pub String);
6859

0 commit comments

Comments
 (0)